Whamcloud - gitweb
LU-1762 tests: get correct MMP update and check intervals
authorYu Jian <yujian@whamcloud.com>
Fri, 4 Jan 2013 15:40:43 +0000 (23:40 +0800)
committerJohann Lombardi <johann.lombardi@intel.com>
Tue, 8 Jan 2013 06:08:25 +0000 (01:08 -0500)
commit72aaff4d8a98b91eac82703b06c316f85a4560f8
tree8577993f3df074616107abea4e4c646699eda34d
parent490de49873331f29f9e5076a56a3f8f59d2cf6b9
LU-1762 tests: get correct MMP update and check intervals

This patch fixes the get_mmp_update_interval() and
get_mmp_check_interval() in mmp.sh to get the correct
MMP update and check intervals from both the old and
new outputs of debugfs.

The patch also improves test_8() to increase the running
time of e2fsck to allow mount operation to be started
before e2fsck operation stops.

Test-Parameters: testlist=mmp
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: If614659e3b7fe45c4b406d5541b1c2944b3c37ce
Reviewed-on: http://review.whamcloud.com/4953
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
lustre/tests/mmp.sh