Whamcloud - gitweb
LU-16831 lfs: limit stripe count for component size
authorBobi Jam <bobijam@whamcloud.com>
Wed, 21 Jun 2023 06:33:21 +0000 (14:33 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 29 Jul 2023 07:55:07 +0000 (07:55 +0000)
commita337688d6e893445e92715118a05fe9c65bef9d1
tree5403beef8ccf3bc51f3704f47c0b6dda00d9b2f2
parentc59658e5778cec4c12e28615142a4141f31fc42e
LU-16831 lfs: limit stripe count for component size

If stripe count is larger than component_size/stripe_size, some
allocated OST objects are created but inaccessible. This patch
reduces the number of stripes in that case to avoid this.

Lustre-change: https://review.whamcloud.com/51143
Lustre-commit: a250ecb959a98c2ec0a01bbca9d943a19b8fa078

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I117ed8a7696c6c6adcdd0c2c6531a958cc53bd51
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51719
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-pfl.sh