diff options
| author | Hannes Reinecke <[email protected]> | 2021-12-20 12:51:45 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-12-23 10:22:46 +0000 |
| commit | e3d347943919f35ccdeed8d2cc62e8c6c12b36cd (patch) | |
| tree | 361f6bebf41cb28c5f4a846d2cc294683db5f91a /fs/btrfs/dev-replace.c | |
| parent | nvme: drop unused variable ctrl in nvme_setup_cmd (diff) | |
| download | kernel-e3d347943919f35ccdeed8d2cc62e8c6c12b36cd.tar.gz kernel-e3d347943919f35ccdeed8d2cc62e8c6c12b36cd.zip | |
nvme: add 'iopolicy' module parameter
While the 'iopolicy' sysfs attribute can be set at runtime, most
storage arrays prefer to use the 'round-robin' iopolicy per default.
We can use udev rules to set this, but is getting rather unwieldy
for rebranded arrays as we would have to update the udev rules
anytime a new array shows up, leading to the same mess we currently
have in multipathd for configuring the RDAC arrays.
Hence this patch adds a module parameter 'iopolicy' to allow the
admin to switch the default, and to do away with the need for a
udev rule here.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
