Whamcloud - gitweb
LU-7372 mgs: reprocess all locks at device fini 53/17853/25
authorJinshan Xiong <jinshan.xiong@intel.com>
Wed, 10 May 2017 17:39:25 +0000 (10:39 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 29 Jul 2017 00:02:18 +0000 (00:02 +0000)
commit2dc19f20ba9fcc1bcac6ae7ee5169ce10caab882
tree56c80293813b8a07d9c3b5fac4e5c7226bc4f32e
parentc2b6030e9217e54e7153c0a33cce0c2ea4afa54c
LU-7372 mgs: reprocess all locks at device fini

This is to avoid a case that IR lock revocation is going on when
the obd is being stopped, an extra ldlm_reprocess_recovery_done() is
required to make revocation process move forward.

Turn off 'set -e' in rundbench. Otherwise killing dbench process will
return an error to wait(1) in rundbench. Since test-framework has
turned on error on exit, it will set test result as failure, which
is actually a false alarm.

Test-Parameters: envdefinitions=SLOW=yes,ONLY=26 testlist=replay-dual,replay-dual,replay-dual,replay-dual
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I43ab1df9c8fe5aea15da6c90175fd08a0b099ea2
Reviewed-on: https://review.whamcloud.com/17853
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ldlm/ldlm_lock.c
lustre/tests/rundbench
lustre/tests/test-framework.sh