mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user