Whamcloud - gitweb
LU-17182 utils: pool_add send OSTs in one batch
authorLei Feng <flei@whamcloud.com>
Thu, 12 Oct 2023 07:58:12 +0000 (15:58 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 19 Oct 2023 13:01:49 +0000 (13:01 +0000)
commita7d720e0c36047c48000cf4ef8401aac50d255bf
tree969e527e4a30e421b3be157ccdc175ad2a60344d
parente2f78685a8a5d08e68737f5b555ac2910ad20637
LU-17182 utils: pool_add send OSTs in one batch

'lctl pool_add' command sends all requests in one batch
then checks results. In this way, the command won't take
too long time if the OSTs are specified in command line
one by one.

Lustre-change: https://review.whamcloud.com/52654
Lustre-commit: TBD (from 7a9b37c84921687ab8ac0c765aab6b5a6b339468)

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Change-Id: Ibd6e7ed5104e100d44c5f4288a25e7378cd9cfe8
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52719
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/obd.c