Whamcloud - gitweb
LU-7096 nrs: serialize executions of nrs_policy_stop 14/16214/4
authorHenri Doreau <henri.doreau@cea.fr>
Thu, 3 Sep 2015 11:38:40 +0000 (13:38 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 19 Sep 2015 03:37:42 +0000 (03:37 +0000)
commit654bbf7fcc7a4c83d41e70d728e971eaed7994fe
tree1f60e5926489d7a4920e395ebd23a22c299db66e
parent5bfa3e3150a9de7c97aa6bcb5f9e2c00d1c0e030
LU-7096 nrs: serialize executions of nrs_policy_stop

Do not release nrs_lock in nrs_policy_stop0 to prevent op_policy_stop()
from being executed concurrently.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: Ie42793021aa47ff7e2c14eb58b3d6e8405fa8407
Reviewed-on: http://review.whamcloud.com/16214
Tested-by: Jenkins
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/nrs.c
lustre/ptlrpc/nrs_tbf.c