Whamcloud - gitweb
LU-10277 utils: 'lfs mkdir -i -1' pick the less full MDTs 98/30598/11
authorLai Siyao <lai.siyao@intel.com>
Mon, 4 Dec 2017 07:38:25 +0000 (15:38 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:42:55 +0000 (03:42 +0000)
commit5c74455b50aa54a0081f1aa86712972857fb8b6a
tree85515660c352cdd724f19da09a5131fecf2a3626
parent18c3e9cccbc2159bbc78769d7ae167ee899df366
LU-10277 utils: 'lfs mkdir -i -1' pick the less full MDTs

If 'lfs mkdir -i -1 -c count' is specified, it will 'df' first,
and then randomly pick 'count' less full MDTs as specific MDTs.

Add sanity test 413.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I2ce1720479d37b1ae397054743afae865129fee3
Reviewed-on: https://review.whamcloud.com/30598
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lfs-setdirstripe.1
lustre/include/lustre/lustreapi.h
lustre/tests/replay-single.sh
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c