Whamcloud - gitweb
LU-13456 ldlm: fix reprocessing of locks with more bits 44/38244/5
authorAndriy Skulysh <c17819@cray.com>
Mon, 16 Dec 2019 20:09:37 +0000 (22:09 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Nov 2021 02:46:22 +0000 (02:46 +0000)
commit05e6ccd344e7eba44e43230fa2fa0a1b3b6115c4
tree15f37dced977e9f1fe67475113b8a4a4c11ae388
parentf3314706b4e5c21f14908650decd92a30fdc1db9
LU-13456 ldlm: fix reprocessing of locks with more bits

Reprocessing check queues should be extended
with just granted lock inodebits.

ldlm_reprocess_all() should be called on BL AST race.

Change-Id: Ifd232062068481c1c62fa2f2a14c7778d4402260
Fixes: 2250e072c3785 ("LU-12017 ldlm: DoM truncate deadlock")
HPE-bug-id: LUS-8224
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-on: https://review.whamcloud.com/38244
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_reclaim.c
lustre/ldlm/ldlm_request.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c