Current Path : /lib/udev/rules.d/ |
|
Current File : //lib/udev/rules.d/80-iosched.rules |
#
# CFQ's default tunings are geared towards slow SATA disks. If we detect
# anything else, we change the tunings to drive deeper queue depths and
# keep the device busy.
#
SUBSYSTEM!="block", GOTO="end_iosched"
KERNEL=="dm-*", GOTO="end_iosched"
ENV{DEVTYPE}=="partition", GOTO="end_iosched"
ACTION!="add|change", GOTO="end_iosched"
ENV{ID_BUS}=="ata", GOTO="end_iosched"
ATTR{queue/scheduler}!="*\[cfq\]", GOTO="end_iosched"
TEST=="queue/iosched/slice_idle", ATTR{queue/iosched/slice_idle}="0"
TEST=="queue/iosched/quantum", ATTR{queue/iosched/quantum}="32"
LABEL="end_iosched"
Copyright 2K16 - 2K18 Indonesian Hacker Rulez