Loading drivers/block/nvme-core.c +4 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,10 @@ #define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion)) #define ADMIN_TIMEOUT (60 * HZ) unsigned char io_timeout = 30; module_param(io_timeout, byte, 0644); MODULE_PARM_DESC(io_timeout, "timeout in seconds for I/O"); static int nvme_major; module_param(nvme_major, int, 0); Loading include/linux/nvme.h +2 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,8 @@ enum { #define NVME_VS(major, minor) (major << 16 | minor) #define NVME_IO_TIMEOUT (5 * HZ) extern unsigned char io_timeout; #define NVME_IO_TIMEOUT (io_timeout * HZ) /* * Represents an NVM Express device. Each nvme_dev is a PCI function. Loading Loading
drivers/block/nvme-core.c +4 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,10 @@ #define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion)) #define ADMIN_TIMEOUT (60 * HZ) unsigned char io_timeout = 30; module_param(io_timeout, byte, 0644); MODULE_PARM_DESC(io_timeout, "timeout in seconds for I/O"); static int nvme_major; module_param(nvme_major, int, 0); Loading
include/linux/nvme.h +2 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,8 @@ enum { #define NVME_VS(major, minor) (major << 16 | minor) #define NVME_IO_TIMEOUT (5 * HZ) extern unsigned char io_timeout; #define NVME_IO_TIMEOUT (io_timeout * HZ) /* * Represents an NVM Express device. Each nvme_dev is a PCI function. Loading