mirror_zfs/contrib
наб 04344d5bc3 i-t: don't brokenly set the scheduler for root pool vdev's disks
This effectively reverts
  4fc411f7a3 (part of #6807) and
  f6fbe25664 (#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
(9e17e6f254) ‒ use an udev rule

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11838
2021-04-07 13:28:56 -07:00
..
bash_completion.d bash_completion.d: always call zfs/zpool binaries directly 2021-04-07 13:27:06 -07:00
bpftrace Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
dracut dracut: Fix race condition between load-key and import 2021-01-26 12:14:22 -08:00
initramfs i-t: don't brokenly set the scheduler for root pool vdev's disks 2021-04-07 13:28:56 -07:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key pam_zfs_key: accommodate different dataset naming scheme 2020-11-22 09:32:34 -08:00
pyzfs Fix typo in Python method name 2021-03-22 12:32:38 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00