summaryrefslogtreecommitdiff
path: root/sys-kernel/bfq-scheduler
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/bfq-scheduler')
-rw-r--r--sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild16
-rw-r--r--sys-kernel/bfq-scheduler/files/60-bfq-sd.rules1
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild b/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild
new file mode 100644
index 0000000..fa8213e
--- /dev/null
+++ b/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild
@@ -0,0 +1,16 @@
+EAPI=6
+
+DESCRIPTION="udev rules to enable BFQ scheduler on all /dev/sd* drives"
+HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/"
+S="${WORKDIR}"
+
+LICENSE="GPL-3.0+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="virtual/udev"
+
+src_install() {
+ insinto /lib64/udev/rules.d
+ doins "${FILESDIR}/60-bfq-sd.rules"
+}
diff --git a/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules b/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules
new file mode 100644
index 0000000..7799518
--- /dev/null
+++ b/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules
@@ -0,0 +1 @@
+ACTION=="add|change", KERNEL=="sd*[!0-9]", ATTR{queue/scheduler}="bfq"