Whamcloud - gitweb
LU-699 tests: replay-dual test_1 failure
authorJinshan Xiong <jay@whamcloud.com>
Wed, 19 Oct 2011 23:54:26 +0000 (16:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Oct 2011 22:06:30 +0000 (18:06 -0400)
commit886e67d4fe87d293952a11e7f41b98a8c3abeddd
tree63480c0c9c39cd9eef03e006aa4dbda0aaae471b
parent7cd07db7e58e8ad82732a4cd9f08786608504224
LU-699 tests: replay-dual test_1 failure

The root cause of this problem is due to data corruption on lustre_disk_data.
In ldd_write(), it just waits for log to be committed but NOT data to actually
write to disk. So in this test case, if the data is not written into disk when
we mark the device as readonly, the data will be lost and cause remount mdt
failed.

Change-Id: I8c46a925ce2df3d2db69b1e7fd8813eb0668401d
Signed-off-by: Jinshan Xiong <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1557
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
lustre/obdclass/obd_mount.c