Commit 9713a670 authored by Li Jinlin's avatar Li Jinlin Committed by Jens Axboe

block/blk-rq-qos: delete useless enmu RQ_QOS_IOPRIO

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: default avatarLi Jinlin <lijinlin3@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220916023241.32926-1-lijinlin3@huawei.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8ef85999
...@@ -805,8 +805,6 @@ static const char *rq_qos_id_to_name(enum rq_qos_id id) ...@@ -805,8 +805,6 @@ static const char *rq_qos_id_to_name(enum rq_qos_id id)
return "latency"; return "latency";
case RQ_QOS_COST: case RQ_QOS_COST:
return "cost"; return "cost";
case RQ_QOS_IOPRIO:
return "ioprio";
} }
return "unknown"; return "unknown";
} }
......
...@@ -17,7 +17,6 @@ enum rq_qos_id { ...@@ -17,7 +17,6 @@ enum rq_qos_id {
RQ_QOS_WBT, RQ_QOS_WBT,
RQ_QOS_LATENCY, RQ_QOS_LATENCY,
RQ_QOS_COST, RQ_QOS_COST,
RQ_QOS_IOPRIO,
}; };
struct rq_wait { struct rq_wait {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment