Whamcloud - gitweb
LU-14265 utils: allow 'lfs mkdir' without arguments 54/41054/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 18 Dec 2020 22:47:09 +0000 (15:47 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 5 Jan 2021 08:27:15 +0000 (08:27 +0000)
commit36012a66f30dfeb9dca03dc94367a6445d5f607a
treeac7433a637d1f4627d5ec60dad05ac5d18db2338
parent3fb39dbcd1e925f7c65e59b9819b36e7a076ae36
LU-14265 utils: allow 'lfs mkdir' without arguments

If no arguments are given to "lfs mkdir <newdir>" assume that
"-i -1 -c 1" were given, to create the specified <newdir> on
an MDT with above-average free space/inodes.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I319f68240832a905a86833a70a4631cde5ce7057
Reviewed-on: https://review.whamcloud.com/41054
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-setdirstripe.1
lustre/utils/lfs.c