Whamcloud - gitweb
LU-15658 lod: ost list and pool name conflict 85/51285/2
authorVitaly Fertman <c17818@cray.com>
Wed, 30 Mar 2022 19:11:42 +0000 (22:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Apr 2024 05:21:56 +0000 (05:21 +0000)
commitb4724968d1b40233445e4e1f821d1c5efc409d4b
tree8627a16b60e0c526a4a773dc690c8b0a31b3d0e7
parentcac870cf4d2bd9905b1b2bbe563defe6d748ac94
LU-15658 lod: ost list and pool name conflict

If the OST list is given on setstripe with the -o option, the pool is
unconditionally dropped even if all the OSTs are in. Let the pool stay
in this case.

Also, if the start index given on setstripe with the -i option is out
of the pool, make it similar to the -o option - drop the pool.

lustre-change: https://review.whamcloud.com/46967
Lustre-commit: 06dd5a4638dd36640b146d4388c09a322873760b

HPE-bug-id: LUS-10868
Fixes: b384ea39e5 ("LU-14480 pool: wrong usage with ost list")
Signed-off-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Change-Id: I718c237e273689048eb74044eea73de6c212395e
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51285
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_qos.c