I am trying to change a parameter, called "sgl_threshold", in the nvme driver when booting into Ubuntu 16.04 running linux kernel v4.18-generic.
It appears the nvme driver is actually built-in as it is not found using lsmod and is being used by a device, and also is found in
/sys/module/nvme/(parameters are found in
My question is how can I change this built-in module's parameter at runtime, or permanently change this parameter whenever the nvme driver is loaded?
I have tried creating a file in modprobe.d with
nvme sgl_threshold=1, and also editing
GRUB_CMDLINE_LINUX_DEFAULT in the default grub file.