Skip to content

Commit

Permalink
block/blk-rq-qos: delete useless enmu RQ_QOS_IOPRIO
Browse files Browse the repository at this point in the history
Since blk-ioprio handing was converted from a rqos policy to a direct call,
RQ_QOS_IOPRIO is not used anymore, just delete it.

Signed-off-by: Li Jinlin <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Li Jinlin authored and axboe committed Sep 22, 2022
1 parent 8ef8599 commit 9713a67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions block/blk-mq-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,6 @@ static const char *rq_qos_id_to_name(enum rq_qos_id id)
return "latency";
case RQ_QOS_COST:
return "cost";
case RQ_QOS_IOPRIO:
return "ioprio";
}
return "unknown";
}
Expand Down
1 change: 0 additions & 1 deletion block/blk-rq-qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ enum rq_qos_id {
RQ_QOS_WBT,
RQ_QOS_LATENCY,
RQ_QOS_COST,
RQ_QOS_IOPRIO,
};

struct rq_wait {
Expand Down

0 comments on commit 9713a67

Please sign in to comment.