Commit 2b71b87
blk-mq: factor out a blk_mq_get_budget_and_tag helper
Factor out a helper from __blk_mq_try_issue_directly in preparation
of folding that function into its two callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-13-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent a1e948b commit 2b71b87
1 file changed
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
2627 | 2642 | | |
2628 | 2643 | | |
2629 | 2644 | | |
2630 | 2645 | | |
2631 | 2646 | | |
2632 | 2647 | | |
2633 | | - | |
2634 | 2648 | | |
2635 | 2649 | | |
2636 | 2650 | | |
| |||
2648 | 2662 | | |
2649 | 2663 | | |
2650 | 2664 | | |
2651 | | - | |
2652 | | - | |
2653 | | - | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
2658 | | - | |
| 2665 | + | |
2659 | 2666 | | |
2660 | | - | |
2661 | 2667 | | |
2662 | 2668 | | |
2663 | 2669 | | |
| |||
0 commit comments