Revert "block: Do not allow boosters to adjusting scheduler"
This reverts commit c05672273a
.
This commit is contained in:
parent
aa97f7f06c
commit
ec34cb298e
1 changed files with 0 additions and 5 deletions
|
@ -757,16 +757,11 @@ static int __elevator_change(struct request_queue *q, const char *name)
|
||||||
return elevator_switch(q, e);
|
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,
|
ssize_t elv_iosched_store(struct request_queue *q, const char *name,
|
||||||
size_t count)
|
size_t count)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (task_is_booster(current))
|
|
||||||
return count;
|
|
||||||
|
|
||||||
if (!elv_support_iosched(q))
|
if (!elv_support_iosched(q))
|
||||||
return count;
|
return count;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue