diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2025-05-06 20:48:58 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai3@huawei.com> | 2025-05-10 16:11:21 +0800 |
| commit | 6b6c3a97abdebfafa25ef0f4b6b0b8b412b57bbb (patch) | |
| tree | 46f8ca08f819ecde9aff4510de84a5ff9f88c3f9 /block/blk-mq.h | |
| parent | f5482ee5edb9a7aeb020e5896efab67dc0417215 (diff) | |
block: clean up blk_mq_in_flight_rw()
Also add comment for part_inflight_show() for the difference between
bio-based and rq-based device.
Link: https://lore.kernel.org/linux-raid/20250506124903.2540268-4-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/blk-mq.h')
| -rw-r--r-- | block/blk-mq.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index eeac0d47c878..affb2e14b56e 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -246,8 +246,7 @@ static inline bool blk_mq_hw_queue_mapped(struct blk_mq_hw_ctx *hctx) return hctx->nr_ctx && hctx->tags; } -void blk_mq_in_flight_rw(struct request_queue *q, struct block_device *part, - unsigned int inflight[2]); +void blk_mq_in_driver_rw(struct block_device *part, unsigned int inflight[2]); static inline void blk_mq_put_dispatch_budget(struct request_queue *q, int budget_token) |
