Skip to contentSkip to conversation

block: add documentation for io_timeout

PATCH Superseded Weiping Zhang 2 participants 2 messages Nov 28, 2018

Subsystems (2)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: add documentation for io_timeout

add documentation for /sys/block/<disk>/queue/io_timeout

---
 Documentation/ABI/testing/sysfs-block | 9 +++++++++
 Documentation/block/queue-sysfs.txt   | 6 ++++++
 2 files changed, 15 insertions(+)
Documentation/ABI/testing/sysfs-block +9 -0
index dea212db9df3..f37c0000ca16 100644
@@ -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 <[email protected]>
+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.
Documentation/block/queue-sysfs.txt +6 -0
index 2c1e67058fd3..cbd44fe056fa 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw
Quoted 37 lines · Weiping Zhang

add documentation for /sys/block/<disk>/queue/io_timeout

Documentation/ABI/testing/sysfs-block |9 +-+-+-+-+-+-+-+-+-
Documentation/block/queue-sysfs.txt |6 +-+-+-+-+-+-

2 files changed, 15 insertions(+-)
Documentation/ABI/testing/sysfs-block +1 -1
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 <[email protected]>>+-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.
Documentation/block/queue-sysfs.txt +1 -1
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.
+-
Quoted 3 lines

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.