Whamcloud - gitweb
LU-13417 mdd: set default LMV on ROOT 53/38553/34
authorLai Siyao <lai.siyao@whamcloud.com>
Wed, 28 Apr 2021 15:02:23 +0000 (23:02 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 31 Jul 2021 06:38:46 +0000 (06:38 +0000)
commit3e04b0fd6c3dd36372f33c54ea5f401c27485d60
tree3b102257d0793ac62c7f35bd9aa34afb3d607766
parent4e05f3b70b73de54690ec08a4638d80e8f8c6e4e
LU-13417 mdd: set default LMV on ROOT

To balance MDT usage, set default LMV on ROOT if it's not set. The
default stripe offset is "-1", and default stripe count is "1". Then
directory created by "mkdir" under ROOT will be scattered on all MDTs
by usage.

Add sanity 0e.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I7a6c752256225b8d065b2c304c4725268df28045
Reviewed-on: https://review.whamcloud.com/38553
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/doc/lfs-setdirstripe.1
lustre/mdc/mdc_request.c
lustre/mdd/mdd_device.c
lustre/tests/sanity.sh