[PATCH V5 4/7] nvme: add sysfs attribute to change IO timeout per controller
Hannes Reinecke
hare at suse.de
Tue May 19 01:50:28 PDT 2026
On 5/14/26 10:32, Maurizio Lombardi wrote:
> Currently, there is no method to adjust the timeout values on a
> per controller basis with nvme I/O queues.
> Add an io_timeout attribute to nvme so that different nvme controllers
> which may have different timeout requirements can have custom I/O
> timeouts set.
>
> The I/O timeout is also applied to the connect queue (connect_q).
> In NVMe over Fabrics, the connect queue is utilized specifically to
> issue Connect commands that establish the I/O queues.
>
> Reviewed-by: Mohamed Khalfella <mkhalfella at purestorage.com>
> Reviewed-by: Daniel Wagner <dwagner at suse.de>
> Signed-off-by: Maurizio Lombardi <mlombard at redhat.com>
> ---
> drivers/nvme/host/core.c | 4 +++-
> drivers/nvme/host/nvme.h | 1 +
> drivers/nvme/host/sysfs.c | 47 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 51 insertions(+), 1 deletion(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list