diff options
author | Weiping Zhang <zhangweiping@didiglobal.com> | 2018-12-26 04:56:33 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-05 03:19:51 +0100 |
commit | bb351abaf5cd4f9237e1b3094d9cc04853de6d95 (patch) | |
tree | 0173b76e9df11f30e15aaaff05a0575dc6b89f19 /Documentation/block | |
parent | Add CREDITS entry for Shaohua Li (diff) | |
download | linux-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/block')
-rw-r--r-- | Documentation/block/queue-sysfs.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt index 39e286d7afc9..83b457e24bba 100644 --- a/Documentation/block/queue-sysfs.txt +++ b/Documentation/block/queue-sysfs.txt @@ -67,6 +67,13 @@ If set to a value larger than 0, the kernel will put the process issuing IO to sleep for this amount of microseconds before entering classic polling. +io_timeout (RW) +--------------- +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. + iostats (RW) ------------- This file is used to control (on/off) the iostats accounting of the |