Whamcloud - gitweb
LU-8357 nodemap: reclassify nodemap requires active conf lock 59/21159/4
authorKit Westneat <kit.westneat@gmail.com>
Tue, 5 Jul 2016 17:23:52 +0000 (13:23 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Jul 2016 17:43:31 +0000 (17:43 +0000)
commit1ce1032a03dd26345e662164b7877079c54468f5
tree64188786e186f4b32e430b4c6218e8f587111cef
parent5546521fa5d619865902c867d2170dbf1a51c778
LU-8357 nodemap: reclassify nodemap requires active conf lock

A couple of call paths did not take the lock, which led to race
conditions. This patch ensures that those calls are under lock.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I3db8203b0b6d7d02a02cbe1c3ed6c847915d0076
Reviewed-on: http://review.whamcloud.com/21159
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/nodemap_handler.c