Skip to content

Commit

Permalink
Adapt second hunk so it applies cleanly.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny-mnemonic committed Jul 30, 2024
1 parent 4aa3ed0 commit 28627c1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ index fec2dea5c6e885..e3c3c0c21b5536 100644
if (q->elevator) {
/*
* All requests use scheduler tags when an I/O scheduler is
@@ -469,13 +473,9 @@ static struct request *__blk_mq_alloc_requests(struct blk_mq_alloc_data *data)
if (ops->limit_depth)
ops->limit_depth(data->cmd_flags, data);
}
@@ -466,13 +470,9 @@ static struct request *__blk_mq_alloc_requests(struct blk_mq_alloc_data *data)
e->type->ops.limit_depth &&
!(data->flags & BLK_MQ_REQ_RESERVED))
e->type->ops.limit_depth(data->cmd_flags, data);
- }
-
-retry:
- data->ctx = blk_mq_get_ctx(q);
- data->hctx = blk_mq_map_queue(q, data->cmd_flags, data->ctx);
- if (!(data->rq_flags & RQF_SCHED_TAGS))
- if (!(data->rq_flags & RQF_ELV))
+ } else {
blk_mq_tag_busy(data->hctx);
+ }
Expand Down

0 comments on commit 28627c1

Please sign in to comment.