Whamcloud - gitweb
LU-17692 flock: get extra reference for lockd
authorYang Sheng <ys@whamcloud.com>
Thu, 28 Mar 2024 19:54:06 +0000 (03:54 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 27 Apr 2024 22:29:52 +0000 (22:29 +0000)
commit16c36bc62ddae782588bf3a64ff079010065e331
tree2f618248b6eaca8f1430f69b594d09f818deb7a6
parentb952bcb620b7cd153477d547bcaf2de76a805a9e
LU-17692 flock: get extra reference for lockd

We should get local locking first for GETLK. Else
the lock_owner could be released while working with
lockd.

Lustre-change: https://review.whamcloud.com/54622
Lustre-commit: 7f8af8f37eadb0d332c94472ae9cb9556f4425d2

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I56e4204e315c2bdbc496b7961519ae45ab1820fe
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54886
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/file.c