From: Lai Siyao Date: Tue, 29 Nov 2011 06:24:08 +0000 (-0800) Subject: LU-878 test: pdirop fail timeout too soon X-Git-Tag: 2.1.53~30 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=a88ec6990b4bbdcf6c8481374ef8ecb98cb93cf0 LU-878 test: pdirop fail timeout too soon OBD_FAIL_MDS_PDO_LOCK timeout 10 seconds, but our autotest runs on hypervisor, if sanityn test_40b can't finish in 10 seconds, it will fail. Increase timeout to 15 should be able to fix this issue. Signed-off-by: Lai Siyao Change-Id: I85de77b949efc65f439eab64b2d6b709560df772 Reviewed-on: http://review.whamcloud.com/1751 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Niu Yawei Reviewed-by: Yu Jian Reviewed-by: Oleg Drokin --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 1398f1e..001ef1d 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -2239,7 +2239,7 @@ int mdt_object_lock(struct mdt_thread_info *info, struct mdt_object *o, else if (unlikely(OBD_FAIL_PRECHECK(OBD_FAIL_MDS_PDO_LOCK)) && lh->mlh_pdo_hash != 0 && (lh->mlh_reg_mode == LCK_PW || lh->mlh_reg_mode == LCK_EX)) { - OBD_FAIL_TIMEOUT(OBD_FAIL_MDS_PDO_LOCK, 10); + OBD_FAIL_TIMEOUT(OBD_FAIL_MDS_PDO_LOCK, 15); } RETURN(rc);