Whamcloud - gitweb
LU-13709 utils: 'lfs mkdir -i -1' doesn't work 65/39165/3
authorLai Siyao <lai.siyao@whamcloud.com>
Wed, 24 Jun 2020 12:01:08 +0000 (20:01 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jul 2020 07:29:11 +0000 (07:29 +0000)
commit5e26fcd890bb580231c6229b254ea77b1c8357af
treeddc1cf1990997e6957d89b26767e54f8abfaf533
parent6b6d9c0911e45a9f38c1fdedfbb91293bd21cfb5
LU-13709 utils: 'lfs mkdir -i -1' doesn't work

'lfs mkdir -i -1 -c...' is to create directory on MDTs by space usage,
when stripe count is more than 1, the target MDT list is not correctly
initialized, which will cause command fail.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Id4584940cec390a9245e888c96c7873f5afa209e
Reviewed-on: https://review.whamcloud.com/39165
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lfs.c