diff options
author | Xin Hao <xhao@linux.alibaba.com> | 2022-03-22 03:35:12 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-03-23 09:19:17 +0100 |
commit | 2e21e4454bd3435ef6e3b84492dcbfaaf9d8769c (patch) | |
tree | ef929f43bad78b08f6da488d36127d67b021cd82 /drivers/nvme/host | |
parent | nvme: fix the read-only state for zoned namespaces with unsupposed features (diff) | |
download | linux-2e21e4454bd3435ef6e3b84492dcbfaaf9d8769c.tar.xz linux-2e21e4454bd3435ef6e3b84492dcbfaaf9d8769c.zip |
nvme-pci: expose use_threaded_interrupts read-only in sysfs
Allow reading /sys/module/nvme/parameters/use_threaded_interrupts to see
if the use_threaded_interrupts module parameter is in use.
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host')
-rw-r--r-- | drivers/nvme/host/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 9f4f3884fefe..9f3c392fe7a1 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -44,7 +44,7 @@ #define NVME_MAX_SEGS 127 static int use_threaded_interrupts; -module_param(use_threaded_interrupts, int, 0); +module_param(use_threaded_interrupts, int, 0444); static bool use_cmb_sqes = true; module_param(use_cmb_sqes, bool, 0444); |