Whamcloud - gitweb
LU-16894 lod: fix stripe_count limit in lod_qos_set_pool 27/51527/2
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Wed, 14 Jun 2023 08:02:01 +0000 (10:02 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Apr 2024 05:22:05 +0000 (05:22 +0000)
commit6d679873f084aaf909ece93254c97ec4cea550e3
tree95780f87bf2176369eaa52ba399b5ccf95190aa2
parentb4724968d1b40233445e4e1f821d1c5efc409d4b
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.

Lustre-change: https://review.whamcloud.com/51314
Lustre-commit: d6df160877cda3ff1e0b3ce5c4df46fa17e1468a

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