Whamcloud - gitweb
LU-14182 lov: cancel layout lock on replay deadlock 67/40867/2
authorVitaly Fertman <c17818@cray.com>
Fri, 4 Dec 2020 16:35:19 +0000 (19:35 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Mar 2021 20:44:01 +0000 (20:44 +0000)
commit68fb53ad4bb2dbc2104d19613546ecf2534d97d5
treede3125c04c47b05c63af29519d10e22b02f1bab5
parent01d23cc780c6c7fccdbc3e8948ceebbe67b30846
LU-14182 lov: cancel layout lock on replay deadlock

layout locks are not replayed and instead cancelled as unused, what
requires to take lov_conf_lock. the semaphore may be already taken by
cl_lock_flush() which prepares a new IO which is not be able to be
sent to MDS as it is in the recovery.

HPE-bug-id: LUS-9232
Signed-off-by: Vitaly Fertman <c17818@cray.com>
Change-Id: I1a1a91a81c19ad4deca9ff581107512642f0b666
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Tested-by: Jenkins Build User <nssreleng@cray.com>
Reviewed-on: https://review.whamcloud.com/40867
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andriy Skulysh <askulysh@gmail.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/ldlm/ldlm_request.c
lustre/llite/namei.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_object.c
lustre/tests/replay-dual.sh