Whamcloud - gitweb
LU-17871 ldlm: FLOCK ownlocks may be not set
authorAndriy Skulysh <andriy.skulysh@hpe.com>
Wed, 3 Apr 2024 10:34:32 +0000 (13:34 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 7 Jun 2024 07:25:34 +0000 (07:25 +0000)
commit39e7d982c63cce5180527672c219f723b8df40ce
tree31bf7c2d5a75d0ec9876ad4ee8617fa92c032f69
parentf1be07722ea10f1c627f7b91d459b15906fbd42e
LU-17871 ldlm: FLOCK ownlocks may be not set

Conflict checking loop should continue until ownlocks is set.
Ownlocks variable is essential for lock merges.

Lustre-change: https://review.whamcloud.com/55184
Lustre-commit: ede8d928d6c47551371512c80dfa4f159260e7e2

Fixes: b07a57027e (LU-15402 ldlm: speedup RD flock enqueue)
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Signed-off-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Change-Id: Ied526581dd7d4f100c95f2fe582d117a87a8a584
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55246
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ldlm/ldlm_flock.c