Whamcloud - gitweb
LU-7428 tests: write superblock in conf-sanity test_84 71/17371/3
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 27 Nov 2015 07:29:04 +0000 (00:29 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 30 Nov 2015 18:48:27 +0000 (18:48 +0000)
commit5fda01f3002e7e742a206ce149652c6b78356828
tree813378202a222d3736438f88803b96cc2b4247d3
parent795e13aeed68c08a72884c7db9df35b114d972b1
LU-7428 tests: write superblock in conf-sanity test_84

In conf-sanity.sh test_84() a newly-formatted MDS filesystem's block
device is set read-only immediately after mount via replay_barrier(),
which may result in initial formatting or configs to be discarded,
resulting in a wide variety of different failure modes for this test.

Ensure that the superblock and other configuration logs are flushed
to disk before replay_barrier() is called, so that the MDS can mount
properly again later in the test.

Test-Parameters: testlist=conf-sanity,conf-sanity,conf-sanity,conf-sanity
Test-Parameters: testlist=conf-sanity,conf-sanity,conf-sanity,conf-sanity
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I95894b600ed7596c2014cba4f35fef4b443ebbe5
Reviewed-on: http://review.whamcloud.com/17371
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/tests/test-framework.sh