[PATCH] nvme: Export fast_io_fail_tmo to sysfs

Daniel Wagner dwagner at suse.de
Wed Mar 31 19:54:05 BST 2021


On Wed, Mar 31, 2021 at 04:04:55PM +0200, Hannes Reinecke wrote:
> On 3/31/21 3:12 PM, Daniel Wagner wrote:
> > Commit 8c4dfea97f15 ("nvme-fabrics: reject I/O to offline device")
> > introduced fast_io_fail_tmo but didn't export the value to sysfs. That
> > means the value is hard coded during compile time. Export the timeout
> > value to user space via sysfs to allow runtime configuration.
[...]
> It's actually _not_ hardcoded during compilation time, but rather
> settable via options to 'nvme connect'. But we still should be able to
> change it after connection has been established.

Ah, yes, I didn't realize it. Best to drop the sentence I suppose. Shall
I send v2?



More information about the Linux-nvme mailing list