Whamcloud - gitweb
LU-4556 tests: speed up sanity-lfsck and sanity-scrub tests 04/9704/18
authorFan Yong <fan.yong@intel.com>
Fri, 28 Mar 2014 17:55:20 +0000 (01:55 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 30 Apr 2014 03:42:00 +0000 (03:42 +0000)
commit1dbba329174e6c7f7712f01fc4e44c44400fbc92
tree290a7130aa171ac2f7e4828a9bb461e9f80189d8
parent63e7b15a1baa1aae03dfdc965e0777cf754ff29a
LU-4556 tests: speed up sanity-lfsck and sanity-scrub tests

1) drop unnecessary devices reformat.
2) drop unnecessary system stop/re-start.
3) replace 'sleep' with wait_update_facet to avoid idle wait.
4) drop unnecessary "-p" option for some "mkdir" cases.
5) replace "touch" with "createmany -m".
6) other code style changes and cleanup.

Test-Parameters: envdefinitions=SLOW=yes testlist=lfsck-performance
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I047c63b8793fa843fabe1a69b332c42f2f523f68
Reviewed-on: http://review.whamcloud.com/9704
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/lfsck-performance.sh
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-scrub.sh
lustre/tests/test-framework.sh