Whamcloud - gitweb
LU-326 make sure df send statfs request
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Sat, 30 Apr 2011 02:13:45 +0000 (10:13 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 May 2011 16:05:01 +0000 (09:05 -0700)
commit2ee8ddb331e0b869d5721198b5c7be6989696534
tree15502feea96e60b347a812ffdfabda8c9d9380e5
parent347c3a363efd7cfc7c34bc59c813ca6421f67f64
LU-326 make sure df send statfs request

in test_18c of recovery_small.sh, it uses df to send a statfs request
to OST to detect the disconnection stat, but it will fail to send
the request if there is a cache of statfs in client node.
the patch adds a "sleep 1" to make sure the cache of statfs expires
before df sends statfs request.

Change-Id: Ia1f56b8160e77827d5249656488734d7defd6c81
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/551
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
lustre/tests/recovery-small.sh