Whamcloud - gitweb
LU-15314 utils: set default max-inherit to 3
authorLei Feng <flei@whamcloud.com>
Fri, 17 Dec 2021 03:15:01 +0000 (11:15 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 22 Jan 2022 08:24:11 +0000 (08:24 +0000)
commit9761572f72cd561107d4bee0c01a05806983de06
tree92ff8252c28920c0d87c8244f91b70cf5564e3e4
parent4aec7e86e67ac9077c6095bcc38e6ed844b5d4f1
LU-15314 utils: set default max-inherit to 3

Change LMV_INHERIT_DEFAULT from 0 to 3. So that the default stripe
policy of dir will not be inherited unlimited and reduce performance
unexpectly.

Lustre-change: https://review.whamcloud.com/45874
Lustre-commit: 956b4b1e0d9f18c6fe62d84e1c20268363b8159b

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Change-Id: I67ef540046867ccec7ccc3aab035edbff95874c3
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46208
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/tests/sanity.sh
lustre/utils/lfs.c