Whamcloud - gitweb
LU-11623 llite: hash just created files if lock allows 63/38763/3
authorOleg Drokin <green@whamcloud.com>
Tue, 6 Nov 2018 00:26:44 +0000 (19:26 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Jun 2020 02:36:38 +0000 (02:36 +0000)
commit7554658056cddae71fd90ef4a6dd639ddbe3f89b
treef0b57d33e02dde5662269eae97ff30f5fa382b22
parent67e992e81fc0bf2df0c17b3e7deb8202c8a25615
LU-11623 llite: hash just created files if lock allows

If open|creat (and other intent operations later) returned a lookup
bit as part of the lock, hash the resultant dentry under this lock,
not to trigger further RPCs in subsequent lookups.

Lustre-change: https://review.whamcloud.com/33584
Lustre-commit: fc42cbe0e2e5d1d87d0edca73986b831ac718301

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Change-Id: Id5140d1042af7f5ab9052922e11a7eda8f92a29a
Reviewed-on: https://review.whamcloud.com/38763
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/namei.c