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

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

 



On Wed, 2018-12-05 at 22:17 +-0800, Weiping Zhang wrote:
+AD4 +-Description:
+AD4 +-		io+AF8-timeout is a request+IBk-s timeouts at block layer in
+AD4 +-		milliseconds. When the underlying driver starts processing
+AD4 +-		a request, the generic block layer will start a timer, if
+AD4 +-		this request cannot be completed in io+AF8-timeout milliseconds,
+AD4 +-		a timeout event will occur.

Sorry but I think this description is still somewhat confusing. How about
changing that description into the following?

	io+AF8-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.

Bart.



[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