nvme: export fast_io_fail_tmo to sysfs
mainline inclusion from mainline-v5.13-rc1 commit 09fbed63 category: bugfix bugzilla: NA CVE: NA Link: https://gitee.com/openeuler/kernel/issues/I4JFPM?from=project-issue ------------------------------------------------- Commit 8c4dfea9 ("nvme-fabrics: reject I/O to offline device") introduced fast_io_fail_tmo but didn't export the value to sysfs. The value can be set during the 'nvme connect'. Export the timeout value to user space via sysfs to allow runtime configuration. Cc: Victor Gladkov <Victor.Gladkov@kioxia.com> Signed-off-by:Daniel Wagner <dwagner@suse.de> Reviewed-by:
Ewan D. Milne <emilne@redhat.com> Reviewed-by:
Sagi Grimberg <sagi@grimberg.me> Reviewed-by:
Himanshu Madhani <himanshu.madhaani@oracle.com> Signed-off-by:
Christoph Hellwig <hch@lst.de> conflicts: drivers/nvme/host/core.c [adjust context] Signed-off-by:
jiangtao <jiangtao62@huawei.com> Reviewed-by:
chengjike <chengjike.cheng@huawei.com> Reviewed-by:
Ao Sun <sunao.sun@huawei.com> Reviewed-by:
Zhenwei Yang <yangzhenwei@huawei.com> Reviewed-by:
Hou Tao <houtao1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment