Whamcloud - gitweb
LU-16831 lfs: limit stripe count for component size 43/51143/7
authorBobi Jam <bobijam@whamcloud.com>
Wed, 21 Jun 2023 06:33:21 +0000 (14:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Jul 2023 16:44:41 +0000 (16:44 +0000)
commita250ecb959a98c2ec0a01bbca9d943a19b8fa078
treeb7386c0636d6fb2271a7bd6260b834fb90eb0e3b
parentd7aa8de396f585e7001a7ae49dfcba3707005135
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.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I117ed8a7696c6c6adcdd0c2c6531a958cc53bd51
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51143
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@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