Skip to content

Commit 2e21e44

Browse files
Xin HaoChristoph Hellwig
authored andcommitted
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>
1 parent 726be2c commit 2e21e44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvme/host/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#define NVME_MAX_SEGS 127
4545

4646
static int use_threaded_interrupts;
47-
module_param(use_threaded_interrupts, int, 0);
47+
module_param(use_threaded_interrupts, int, 0444);
4848

4949
static bool use_cmb_sqes = true;
5050
module_param(use_cmb_sqes, bool, 0444);

0 commit comments

Comments
 (0)