summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-block
diff options
context:
space:
mode:
authorWeiping Zhang <zhangweiping@didiglobal.com>2018-12-26 04:56:33 +0100
committerJens Axboe <axboe@kernel.dk>2019-01-05 03:19:51 +0100
commitbb351abaf5cd4f9237e1b3094d9cc04853de6d95 (patch)
tree0173b76e9df11f30e15aaaff05a0575dc6b89f19 /Documentation/ABI/testing/sysfs-block
parentAdd CREDITS entry for Shaohua Li (diff)
downloadlinux-bb351abaf5cd4f9237e1b3094d9cc04853de6d95.tar.xz
linux-bb351abaf5cd4f9237e1b3094d9cc04853de6d95.zip
block: add documentation for io_timeout
Add documentation for /sys/block/<disk>/queue/io_timeout. Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Weiping Zhang <zhangweiping@didiglobal.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-block')
-rw-r--r--Documentation/ABI/testing/sysfs-block9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block
index 7710d4022b19..dfad7427817c 100644
--- a/Documentation/ABI/testing/sysfs-block
+++ b/Documentation/ABI/testing/sysfs-block
@@ -279,3 +279,12 @@ Description:
size in 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 request timeout in milliseconds. If a request
+ does not complete in this time then the block driver timeout
+ handler is invoked. That timeout handler can decide to retry
+ the request, to fail it or to start a device recovery strategy.