Whamcloud - gitweb
LU-18214 ldlm: change flock deadlock detection 84/56984/5
authorYang Sheng <ys@whamcloud.com>
Thu, 14 Nov 2024 20:54:22 +0000 (12:54 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Jan 2025 18:51:38 +0000 (18:51 +0000)
commit663bf05b6207089dbc400717c8e144fd40f9e7a0
tree78629b4d324cc2b89f142fcb3b5e51fa719c9e15
parent356222ffb713c611af1bfa8379fe866a15da0439
LU-18214 ldlm: change flock deadlock detection

The flock deadlock detection code thought request lock
same as blocking lock is a bug. In fact, this is a case
of cycling chain. So we should treat it as a deadlock
case. Also clean up the reprocess code.

Lustre-change: https://review.whamcloud.com/56319
Lustre-commit: c2e6fa41aac428222770a4fc2826567a74a6dbc6
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: Icf0df4ac281c2cdb6cc57cb79db137d39ecef9e6
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56984
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ldlm/ldlm_flock.c