In test_6 of sanity-quota, if the qsd_timeout is larger than
TIMEOUT*2, it will trigger the watchdog and cause the test fail.
Change-Id: I3f2993ce2b88e1520b6907ae134557abcd30aa0c
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33931
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
#define OBD_FAIL_PTLRPC_DROP_REQ_OPC 0x513
lustre_fail mds 0x513 601
+ do_facet ost1 $LCTL set_param \
+ osd-*.$FSNAME-OST*.quota_slave.timeout=$((TIMEOUT / 2))
+
# write to un-enforced ID ($TSTUSR2) should succeed
$RUNAS2 $DD of=$TESTFILE2 count=$LIMIT seek=1 oflag=sync conv=notrunc ||
error "write failure, expect success"