Merge branch 'svn-trunk'

This commit is contained in:
Bart Van Assche
2019-02-06 19:28:48 -08:00
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -456,7 +456,8 @@ following entries:
$ echo 1 >/sys/kernel/scst_tgt/measure_latency
$ sleep 10 # Wait until an initiator has submitted multiple I/O requests
$ cat /sys/kernel/scst_tgt/targets/ib_srpt/fe80\:0000\:0000\:0000\:0002\:c903\:00fa\:b7f2/sessions/fe80\:0000\:0000\:0000\:0002\:c903\:00a3\:4272/latency/r512
$ (cd /sys/kernel/scst_tgt/targets &&
find -name latency | xargs grep -raH .)
state count min max avg stddev
PARSE 219 1.3 26.6 2.2 2.5 us
PREPARE_SPACE 219 0.9 10.3 1.1 0.6 us
+1 -1
View File
@@ -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);