Re: [PATCH v4] block: add documentation for io_timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-12-26 at 11:56 +-0800, Weiping Zhang wrote:
+AD4 Add documentation for /sys/block/+ADw-disk+AD4-/queue/io+AF8-timeout.
+AD4 
+AD4 Signed-off-by: Weiping Zhang +ADw-zhangweiping+AEA-didiglobal.com+AD4
+AD4 ---
+AD4  Documentation/ABI/testing/sysfs-block +AHw 9 +-+-+-+-+-+-+-+-+-
+AD4  Documentation/block/queue-sysfs.txt   +AHw 7 +-+-+-+-+-+-+-
+AD4  2 files changed, 16 insertions(+-)
+AD4 
+AD4 diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block
+AD4 index 7710d4022b19..dfad7427817c 100644
+AD4 --- a/Documentation/ABI/testing/sysfs-block
+AD4 +-+-+- b/Documentation/ABI/testing/sysfs-block
+AD4 +AEAAQA -279,3 +-279,12 +AEAAQA Description:
+AD4  		size in 512B sectors of the zones of the device, with
+AD4  		the eventual exception of the last zone of the device
+AD4  		which may be smaller.
+AD4 +-
+AD4 +-What:		/sys/block/+ADw-disk+AD4-/queue/io+AF8-timeout
+AD4 +-Date:		November 2018
+AD4 +-Contact:	Weiping Zhang +ADw-zhangweiping+AEA-didiglobal.com+AD4
+AD4 +-Description:
+AD4 +-		io+AF8-timeout is the request timeout in milliseconds. If a request
+AD4 +-		does not complete in this time then the block driver timeout
+AD4 +-		handler is invoked. That timeout handler can decide to retry
+AD4 +-		the request, to fail it or to start a device recovery strategy.
+AD4 diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt
+AD4 index 39e286d7afc9..83b457e24bba 100644
+AD4 --- a/Documentation/block/queue-sysfs.txt
+AD4 +-+-+- b/Documentation/block/queue-sysfs.txt
+AD4 +AEAAQA -67,6 +-67,13 +AEAAQA If set to a value larger than 0, the kernel will put the process issuing
+AD4  IO to sleep for this amount of microseconds before entering classic
+AD4  polling.
+AD4  
+AD4 +-io+AF8-timeout (RW)
+AD4 +----------------
+AD4 +-io+AF8-timeout is the request timeout in milliseconds. If a request does not
+AD4 +-complete in this time then the block driver timeout handler is invoked.
+AD4 +-That timeout handler can decide to retry the request, to fail it or to start
+AD4 +-a device recovery strategy.
+AD4 +-
+AD4  iostats (RW)
+AD4  -------------
+AD4  This file is used to control (on/off) the iostats accounting of the

Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux