* [PATCH] block: add documentation for io_timeout
@ 2018-11-28 16:54 Weiping Zhang
2018-11-28 17:06 ` Bart Van Assche
0 siblings, 1 reply; 2+ messages in thread
From: Weiping Zhang @ 2018-11-28 16:54 UTC (permalink / raw)
To: axboe; +Cc: bvanassche, linux-block
add documentation for /sys/block/<disk>/queue/io_timeout
Signed-off-by: Weiping Zhang <zhangweiping@didiglobal.com>
---
Documentation/ABI/testing/sysfs-block | 9 +++++++++
Documentation/block/queue-sysfs.txt | 6 ++++++
2 files changed, 15 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block
index dea212db9df3..f37c0000ca16 100644
--- a/Documentation/ABI/testing/sysfs-block
+++ b/Documentation/ABI/testing/sysfs-block
@@ -271,3 +271,12 @@ Description:
size of 512B sectors of the zones of the device, with
the eventual exception of the last zone of the device
which may be smaller.
+
+What: /sys/block/<disk>/queue/io_timeout
+Date: November 2018
+Contact: Weiping Zhang <zhangweiping@didiglobal.com>
+Description:
+ io_timeout is the timeout in millisecods of a request in
+ block layer. The block layer will start a timer when low
+ level device driver start the request, and cancle timer
+ when request completes.
diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt
index 2c1e67058fd3..cbd44fe056fa 100644
--- a/Documentation/block/queue-sysfs.txt
+++ b/Documentation/block/queue-sysfs.txt
@@ -67,6 +67,12 @@ If set to a value larger than 0, the kernel will put the process issuing
IO to sleep for this amont of microseconds before entering classic
polling.
+io_timeout (RW)
+---------------
+This is the timeout in millisecods of a request in block layer.
+The block layer will start a timer when low level device driver start
+the request, and cancle timer when request completes.
+
iostats (RW)
-------------
This file is used to control (on/off) the iostats accounting of the
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] block: add documentation for io_timeout
2018-11-28 16:54 [PATCH] block: add documentation for io_timeout Weiping Zhang
@ 2018-11-28 17:06 ` Bart Van Assche
0 siblings, 0 replies; 2+ messages in thread
From: Bart Van Assche @ 2018-11-28 17:06 UTC (permalink / raw)
To: Weiping Zhang, axboe; +Cc: linux-block
On Thu, 2018-11-29 at 00:54 +0800, Weiping Zhang wrote:
> add documentation for /sys/block/<disk>/queue/io_timeout
>
> Signed-off-by: Weiping Zhang <zhangweiping@didiglobal.com>
> ---
> Documentation/ABI/testing/sysfs-block | 9 +++++++++
> Documentation/block/queue-sysfs.txt | 6 ++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block
> index dea212db9df3..f37c0000ca16 100644
> --- a/Documentation/ABI/testing/sysfs-block
> +++ b/Documentation/ABI/testing/sysfs-block
> @@ -271,3 +271,12 @@ Description:
> size of 512B sectors of the zones of the device, with
> the eventual exception of the last zone of the device
> which may be smaller.
> +
> +What: /sys/block/<disk>/queue/io_timeout
> +Date: November 2018
> +Contact: Weiping Zhang <zhangweiping@didiglobal.com>
> +Description:
> + io_timeout is the timeout in millisecods of a request in
> + block layer. The block layer will start a timer when low
> + level device driver start the request, and cancle timer
> + when request completes.
> diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt
> index 2c1e67058fd3..cbd44fe056fa 100644
> --- a/Documentation/block/queue-sysfs.txt
> +++ b/Documentation/block/queue-sysfs.txt
> @@ -67,6 +67,12 @@ If set to a value larger than 0, the kernel will put the process issuing
> IO to sleep for this amont of microseconds before entering classic
> polling.
>
> +io_timeout (RW)
> +---------------
> +This is the timeout in millisecods of a request in block layer.
> +The block layer will start a timer when low level device driver start
> +the request, and cancle timer when request completes.
> +
> iostats (RW)
> -------------
> This file is used to control (on/off) the iostats accounting of the
Please run this patch through a spelling checker. I think "millisecods" should
be changed into "milliseconds" and also that "cancle" should be changed into
"cancel".
Thanks,
Bart.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-28 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28 16:54 [PATCH] block: add documentation for io_timeout Weiping Zhang
2018-11-28 17:06 ` Bart Van Assche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).