Whamcloud - gitweb
LU-5264 obdclass: fix race during key quiescency 03/13103/3
authorBruno Faccini <bruno.faccini@intel.com>
Wed, 17 Dec 2014 09:57:07 +0000 (10:57 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Mar 2015 02:16:48 +0000 (02:16 +0000)
commit42fdf8355791cb682c6120f7950bb2ecd50f97aa
tree5c20243a464dfc734f2e85ff31813ceee6fc6ece
parentd2b203692e24cde8e39266f91e9a150c5a287111
LU-5264 obdclass: fix race during key quiescency

Upon umount, presumably of last device using same OSD back-end,
to prepare for module unload, lu_context_key_quiesce() is run to
remove all module's key reference in any context linked on
lu_context_remembered list.
Threads must protect against such transversal processing when
exiting from its context.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: If2c8199fa764236308b49950672129a63b8877f5
Reviewed-on: http://review.whamcloud.com/13103
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/lu_object.c