|
@@ -50,6 +50,10 @@
|
|
|
#define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion))
|
|
#define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion))
|
|
|
#define ADMIN_TIMEOUT (60 * HZ)
|
|
#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;
|
|
static int nvme_major;
|
|
|
module_param(nvme_major, int, 0);
|
|
module_param(nvme_major, int, 0);
|
|
|
|
|
|