mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
udev/rules.d: make virtio-blk devices non-rotational
Performance measurements turned out that in certain situations the paging/swap logic turns on the rotational feature for block devices. In the past, this feature has been disabled for DASD devices. FCP and NVMe devices are considered non-rotational by default (or exposed by the storage server). Because those are the backing devices on Linux on Z/LinuxONE instances, ensure that virtio-blk devices are always non-rotational. Signed-off-by: Peter Jin <pjin@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
1
etc/udev/rules.d/59-virtio-blk.rules
Normal file
1
etc/udev/rules.d/59-virtio-blk.rules
Normal file
@@ -0,0 +1 @@
|
||||
SUBSYSTEM=="block", ACTION=="add", KERNEL=="vd*[!0-9]", TEST=="queue/rotational", ATTR{queue/rotational}="0"
|
||||
Reference in New Issue
Block a user