From a3c8e880a685bd615db4358ec96f642a262de49a Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 11 Aug 2005 00:41:26 +0000 Subject: [PATCH] Branch b1_4 Allow setting ldlm_timeout smaller than 10s. b=7201 --- lustre/obdclass/sysctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/obdclass/sysctl.c b/lustre/obdclass/sysctl.c index a897579..714aa0e 100644 --- a/lustre/obdclass/sysctl.c +++ b/lustre/obdclass/sysctl.c @@ -92,8 +92,6 @@ int LL_PROC_PROTO(proc_set_timeout) rc = ll_proc_dointvec(table, write, filp, buffer, lenp, ppos); if (ldlm_timeout >= obd_timeout) ldlm_timeout = max(obd_timeout / 3, 1U); - else if (ldlm_timeout < 10 && obd_timeout >= ldlm_timeout * 4) - ldlm_timeout = min(obd_timeout / 3, 30U); return rc; } -- 1.8.3.1