Whamcloud - gitweb
LU-213 using direct io for quota test to avoid cache problem
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Sun, 3 Apr 2011 07:28:09 +0000 (15:28 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 May 2011 00:44:41 +0000 (17:44 -0700)
commit0cf909130f76284ecada44c4671cedeb318f3d89
tree0cc990ae7c0a8f8bdf31270e5f06d326ec55abb4
parent3bf2ba3f3aa847e6d5ea9e0653e853aad0f4b95b
LU-213 using direct io for quota test to avoid cache problem

in test_14a of sanity-qutota.sh, the data written was cached in client side,
which causes the test failed, using "mulitop ${TESTFILE} oO_DIRECT" (direct IO)
instead of "dd" to avoid such issue.

Change-Id: I0802c2ea200483c148e4e7f61e2c6d4b34500f01
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/435
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/sanity-quota.sh