Whamcloud - gitweb
LU-15910 llite: enforce ROOT default on subdir mount 18/47518/4
authorLai Siyao <lai.siyao@whamcloud.com>
Sat, 21 May 2022 02:21:38 +0000 (22:21 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 27 Jun 2022 05:28:50 +0000 (05:28 +0000)
commita162e24d2da5e4bd64a79d6dcc128bd0d50e8517
tree6b388cbd2fd826d473a3f7da2d9c2ff9a4796356
parent34a15de1432814f848f7c794664f0048daa3f9ef
LU-15910 llite: enforce ROOT default on subdir mount

In subdirectory mount, the filesystem-wide default LMV doesn't take
effect. This fix includes the following changes:
* enforce the filesystem-wide default LMV on subdirectory mount if
  it's not set separately.
* "lfs getdirstripe -D <subdir_mount>" should print the
  filesystem-wide default LMV.

Add sanity test_413g.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I26de9d02872f0df8918b4ef0765b6b18b84794e6
Reviewed-on: https://review.whamcloud.com/47518
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/tests/sanity.sh