Whamcloud - gitweb
LU-6198 test: fix large-lun test_1, test_2 defects 01/13601/3
authorElena Gryaznova <elena.gryaznova@seagate.com>
Mon, 2 Feb 2015 23:46:35 +0000 (03:46 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 21 Jul 2015 16:20:36 +0000 (16:20 +0000)
commit935d49c9c19edb8a71d281bbbca2c8e801cb81af
tree0eba9aeb08b3e2c11e7aff760a18c28239fc294d
parente5d5d8d09a4be22ab225bac0db3f4abc0e24b296
LU-6198 test: fix large-lun test_1, test_2 defects

setupall()->start ost called at the end of large-lun.sh
fails to start the ost devices which leads test_1() and
test_2() fail if run separately.

The reasons are:
1) osts data are destroyed by test_1()->llverdev
2) osts are reformatted by test_2, but mds config not changed
Patch fixes the following:
- format Lustre at the end of test_1() and test_2()
- add the "REFORMAT" option check to avoid killing
filesystems that do not want a reformat.

Signed-off-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Xyratex-bug-id: MRP-1984
Reviewed-by: Vladimir Saveliev <vladimir.saveliev@seagate.com>
Change-Id: I7f1465d4777b7a5d5538e019226334dc090e3f50
Reviewed-on: http://review.whamcloud.com/13601
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/large-lun.sh