Whamcloud - gitweb
LU-17182 utils: pool_add send OSTs in one batch 54/52654/14
authorLei Feng <flei@whamcloud.com>
Thu, 12 Oct 2023 07:58:12 +0000 (15:58 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Oct 2023 18:09:35 +0000 (18:09 +0000)
commitc8963c4935168c749896664e40aa4d11be90e0c3
tree2a926e972323ba71b3ebc820c2c26fa57ad74c46
parent0e878390e1c8c5883bccd01758392eaa16a67f31
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.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Change-Id: Ibd6e7ed5104e100d44c5f4288a25e7378cd9cfe8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52654
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/obd.c