Whamcloud - gitweb
LU-16831 lfs: limit stripe count for component size 75/53775/6
authorBobi Jam <bobijam@whamcloud.com>
Mon, 13 May 2024 18:06:37 +0000 (11:06 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 05:01:21 +0000 (05:01 +0000)
commit6d8358544e2456c6c8d4942fe3c26af96539d121
tree06bb3e46fb39cd9f4086a5f67ecdb7083e9ff341
parentdda0bd1207d0cb4864c3ec2a10cd881021ef2ea9
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-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53775
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-pfl.sh