Whamcloud - gitweb
LU-924 test: sync client data before reboot server
authorNiu Yawei <niu@whamcloud.com>
Mon, 19 Dec 2011 06:51:26 +0000 (22:51 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 15:53:19 +0000 (10:53 -0500)
commit17a69cf25ed0991e04d85c259f4294dc59734e1e
treee97930eb7673ae6e157ea915b0b5ff097f2ef7ab
parent4ad943d14235ce8e8599477b340dbd75c076581e
LU-924 test: sync client data before reboot server

Lustre doesn't write client data synchronously (to avoid flooding sync
writes when there are many clients connecting, see exp_need_sync), so
if the server reboots before client data reachs disk, the client data
will be lost and client will be evicted after recovery, which is not
what we expected.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I21bcafe1f2630285c9108c0528467eb177e3449b
Reviewed-on: http://review.whamcloud.com/1888
Tested-by: Hudson
Reviewed-by: Chris Gearing <chris@whamcloud.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh