Whamcloud - gitweb
LU-15850 mdt: pack default LMV in open reply
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 9 Jun 2022 11:26:40 +0000 (07:26 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 5 Aug 2022 23:12:06 +0000 (23:12 +0000)
commit7b8eb7ab7282e91f42b6243cb6f00fb17cf1acbb
treec6e69fb182be52846ab47e98be7b759052dcec20
parenta8ddf1063d236aaa4729c4b676c9beff3b754e17
LU-15850 mdt: pack default LMV in open reply

Add flag MDS_OPEN_DEFAULT_LMV to indicate that default LMV should be
packed in open reply, otherwise if open fetches LOOKUP lock, client
won't know directory has default LMV, and in subdir creation default
LMV won't take effect.

Lustre-change: https://review.whamcloud.com/47576/
Lustre-commit: f6e4272fb0be5b798b7685bb40067e3f6877c8a5

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: If2300ca39f406169eff9eab8f973ca1c2bfc8202
Reviewed-on: https://review.whamcloud.com/47869
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c