Whamcloud - gitweb
LU-15658 lod: ost list and pool name conflict 67/46967/3
authorVitaly Fertman <c17818@cray.com>
Wed, 30 Mar 2022 19:11:42 +0000 (22:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 May 2022 19:04:41 +0000 (19:04 +0000)
commit06dd5a4638dd36640b146d4388c09a322873760b
tree4c16f2ba5d1fdfc0d116760ea8baa6c1c2fab9af
parent755fdc6678836652302cea51f838e4894f2a7efc
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.

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-on: https://review.whamcloud.com/46967
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_qos.c