summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-04-04 00:53:40 +0200
committerBrian Behlendorf <[email protected]>2021-04-06 18:29:31 -0700
commitaa5a4eb5d0d7dff475333c4cdd00b79a3164c862 (patch)
treeeec5c5869d0922a24da56c855b0aeebe7a272ebc /man
parent55419e0a721f32632e182794a5efa465522b9994 (diff)
i-t: don't brokenly set the scheduler for root pool vdev's disks
This effectively reverts 4fc411f7a3ecee8a70fc8d6c687fae9a1cf20b31 (part of #6807) and f6fbe25664629d1ae6a3b186f14ec69dbe6c6232 (#9042) ‒ the code itself and latter PR cite symmetry with whole-disk-vdev behaviour (presumably because rootfs vdevs are rarely whole disks), but the code is broken for NVME devices (indeed, it'd strip the controller number instead of the (potential) partition number, turning "nvme0n1p1" into "nvmen1p1", which would then subsequently fail the sysfs existence check); it could be fixed to handle those (and any others) rather easily by dereferencing /sys/class/block/$devname, but this isn't the place for setting this ‒ as noted in the commit that removed setting the scheduler by default (9e17e6f2541c69a7a5e0ed814a7f5e71cbf8b90a) ‒ use an udev rule Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11838
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions