nvme-pci: expose use_threaded_interrupts read-only in sysfs
authorXin Hao <xhao@linux.alibaba.com>
Tue, 22 Mar 2022 02:35:12 +0000 (10:35 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Mar 2022 08:19:17 +0000 (09:19 +0100)
commit2e21e4454bd3435ef6e3b84492dcbfaaf9d8769c
treeef929f43bad78b08f6da488d36127d67b021cd82
parent726be2c72efc0a64c206e854b8996ad3ab9c7507
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>
drivers/nvme/host/pci.c