From ec34cb298e56c59e60485494396798638f482b94 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 17 Nov 2024 20:45:13 +0100 Subject: [PATCH] Revert "block: Do not allow boosters to adjusting scheduler" This reverts commit c05672273ae7cd0f5536783a93f1ba85d9c1b242. --- block/elevator.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index 2b6283d87..66a2940f2 100755 --- a/block/elevator.c +++ b/block/elevator.c @@ -757,16 +757,11 @@ static int __elevator_change(struct request_queue *q, const char *name) return elevator_switch(q, e); } -bool task_is_booster(struct task_struct *tsk); - ssize_t elv_iosched_store(struct request_queue *q, const char *name, size_t count) { int ret; - if (task_is_booster(current)) - return count; - if (!elv_support_iosched(q)) return count;