Re: [PATCH] nvme: Export fast_io_fail_tmo to sysfs
From: Daniel Wagner <hidden>
Date: 2021-03-31 18:54:29
From: Daniel Wagner <hidden>
Date: 2021-03-31 18:54:29
On Wed, Mar 31, 2021 at 04:04:55PM +0200, Hannes Reinecke wrote:
On 3/31/21 3:12 PM, Daniel Wagner wrote:quoted
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? _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme