lkml.org 
[lkml]   [2022]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/4] elevator: remove an outdated comment in elevator_change
    Date
    mq is no longer a special case.

    Signed-off-by: Jinlong Chen <nickyc975@zju.edu.cn>
    ---
    block/elevator.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/block/elevator.c b/block/elevator.c
    index 5287b39cd7a9..599413620558 100644
    --- a/block/elevator.c
    +++ b/block/elevator.c
    @@ -721,9 +721,6 @@ static int elevator_change(struct request_queue *q, const char *elevator_name)
    if (!blk_queue_registered(q))
    return -ENOENT;

    - /*
    - * Special case for mq, turn off scheduling
    - */
    if (!strncmp(elevator_name, "none", 4)) {
    if (q->elevator)
    elevator_disable(q);
    --
    2.34.1
    \
     
     \ /
      Last update: 2022-11-22 15:22    [W:4.794 / U:0.212 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site