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: NDaniel Wagner <dwagner@suse.de> Reviewed-by: NEwan D. Milne <emilne@redhat.com> Reviewed-by: NSagi Grimberg <sagi@grimberg.me> Reviewed-by: NHimanshu Madhani <himanshu.madhaani@oracle.com> Signed-off-by: NChristoph Hellwig <hch@lst.de> conflicts: drivers/nvme/host/core.c [adjust context] Signed-off-by: Njiangtao <jiangtao62@huawei.com> Reviewed-by: Nchengjike <chengjike.cheng@huawei.com> Reviewed-by: NAo Sun <sunao.sun@huawei.com> Reviewed-by: NZhenwei Yang <yangzhenwei@huawei.com> Reviewed-by: NHou Tao <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录