b=17748
i=grev
i=adilger
sanityN test fix
if (OBD_FAIL_CHECK(OBD_FAIL_PTLRPC_HPREQ_NOTIMEOUT) ||
OBD_FAIL_CHECK(OBD_FAIL_PTLRPC_HPREQ_TIMEOUT))
- seconds = 2;
+ seconds = 1;
timeout = cfs_time_shift(seconds);
if (likely(cfs_time_after(timeout, lock->l_callback_timeout)))
echo writing on client1
dd if=/dev/zero of=$DIR1/$tfile count=100 conv=notrunc > /dev/null 2>&1
sync &
- # wait for the flush
- sleep 1
echo reading on client2
dd of=/dev/null if=$DIR2/$tfile > /dev/null 2>&1
# wait for a lock timeout