From 65cf98f90ab65d373438b58d660769a3fbb3873b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 7 Feb 2019 01:13:54 +0000 Subject: [PATCH] scst_sysfs: Increase latency measurement suspend timeout from 1/HZ to 10 s git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7904 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index 2ed8ecbeb..3542e05f1 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -6925,7 +6925,7 @@ static ssize_t scst_measure_latency_store(struct kobject *kobj, val = !!val; - res = scst_suspend_activity(true); + res = scst_suspend_activity(10 * HZ); if (res) goto out; res = mutex_lock_interruptible(&scst_mutex);