Whamcloud - gitweb
LU-2374 mkfs: Make order of --index and --ost irrelevant 42/5942/6
authorGirish Shilamkar <gshilamkar@ddn.com>
Mon, 20 May 2013 08:11:55 +0000 (13:41 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 23 Jul 2013 05:48:04 +0000 (05:48 +0000)
commit3052583f5e89b4b4294a4df05939e749be22df3d
treee73c5293d1671bba2985a7b6ca375c42ee398b76
parent663ef6abd788c3388cae8d5bc5421bad99979c8b
LU-2374 mkfs: Make order of --index and --ost irrelevant

The order of --index and --ost should not prevent mkfs.lustre to
work. So reordered the checks which ensure that  mkfs with index is
done for ost and mdt only.

Signed-off-by: Girish Shilamkar <gshilamkar@ddn.com>
Change-Id: I228f6c9189aa85a5565393523d39e8e27e0eaddc
Reviewed-on: http://review.whamcloud.com/5942
Tested-by: Hudson
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/conf-sanity.sh
lustre/utils/mkfs_lustre.c