Use bfq I/O scheduler by default

This commit is contained in:
Fierelier 2022-08-26 11:51:59 +02:00
parent e0b66ddf0e
commit f0b7d9e7d4
4 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
bfq
packages-base
hostname
sources

View File

@ -0,0 +1 @@
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT scsi_mod.use_blk_mq=1"

View File

@ -0,0 +1 @@
ACTION=="add|change", SUBSYSTEM=="block", DRIVERS=="sd|sr", ATTR{queue/scheduler}!="bfq", ATTR{queue/scheduler}="bfq"

2
mods/bfq/modscript Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
echo "bfq" >>"$1/etc/modules"