Whamcloud - gitweb
LU-16894 lod: fix stripe_count limit in lod_qos_set_pool 14/51314/5
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Wed, 14 Jun 2023 08:02:01 +0000 (10:02 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Jun 2023 21:49:13 +0000 (21:49 +0000)
commitd6df160877cda3ff1e0b3ce5c4df46fa17e1468a
tree374c623557d66c607ce08fc879044ffc4c21becf
parentf12f98ade3ba31cec9f0c64324f7f6266707ba5f
LU-16894 lod: fix stripe_count limit in lod_qos_set_pool

For a conflicting pool name and stripe offset parameter, the MDS
should not set the pool on the file layout in favor of the stripe
offset (LU-15658). But lod_qos_set_pool() still limit the
stripe_count to the number of OSTs in the specified pool.

Let's fix this.

Fixes: 06dd5a4 ("LU-15658 lod: ost list and pool name conflict")
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Change-Id: Ic47f9aadd8feea01367e526aaf0ea41a69ade9fa
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51314
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_qos.c