nvme/multipath: Disable runtime writable enabling parameter

We can't allow the user to change multipath settings at runtime, as this
will create naming conflicts due to the different naming schemes used
for each mode.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Keith Busch 2018-04-26 14:24:29 -06:00 committed by Jens Axboe
parent f31a21103c
commit 5cadde8019

View file

@ -15,7 +15,7 @@
#include "nvme.h"
static bool multipath = true;
module_param(multipath, bool, 0644);
module_param(multipath, bool, 0444);
MODULE_PARM_DESC(multipath,
"turn on native support for multiple controllers per subsystem");