summaryrefslogtreecommitdiff
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2018-06-06 08:13:09 -0600
committerJens Axboe <axboe@kernel.dk>2018-06-08 12:51:11 -0600
commit69f4eb9ff79556c1a3daf5af5573594c196f30cc (patch)
treec97bc3aac6cc5be8414f7a1e53190505ab22d75c /block/blk-flush.c
parent1d39e6928cbd0eb737c51545210b5186d5551ba1 (diff)
nvme-pci: make CMB SQ mod-param read-only
A controller reset after a run time change of the CMB module parameter breaks the driver. An 'on -> off' will have the driver use NULL for the host memory queue, and 'off -> on' will use mismatched queue depth between the device and the host. We could fix both, but there isn't really a good reason to change this at run time anyway, compared to at module load time, so this patch makes parameter read-only after after modprobe. Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions