Whamcloud - gitweb
LU-15971 llite: match lock in corresponding namespace 43/47843/10
authorLai Siyao <lai.siyao@whamcloud.com>
Wed, 29 Jun 2022 15:51:47 +0000 (11:51 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 1 Mar 2023 06:18:14 +0000 (06:18 +0000)
commit64264dc424ca13d902bdad3066add5bf9b4e8cfc
tree5630c5bdd3a33c3b8e5eb17a2cb810b51745d6b8
parentd328818a456daf30c20c8df0aa0be9dd2a2b6a9e
LU-15971 llite: match lock in corresponding namespace

For remote object, LOOKUP lock is on parent MDT, so lmv_lock_match()
iterates all MDT namespaces to match locks. This is needed in places
where only LOOKUP ibit is matched, and the lock namespace is unknown.

Test-Parameters: mdscount=2 mdtcount=4 testlist=sanityn env=ONLY=109,ONLY_REPEAT=50
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I32767f63f92a4df825ddacbf435bda8cfcfbbdd7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47843
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/namei.c
lustre/lmv/lmv_obd.c