From: Yu Kuai <yukuai3@xxxxxxxxxx> The new api will be used in mq-deadline and kyber in following patches, prepare to refactor async_depth. Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx> --- block/elevator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/block/elevator.h b/block/elevator.h index dbf357ef4fab..21a431873f48 100644 --- a/block/elevator.h +++ b/block/elevator.h @@ -29,6 +29,7 @@ struct elevator_mq_ops { int (*init_hctx)(struct blk_mq_hw_ctx *, unsigned int); void (*exit_hctx)(struct blk_mq_hw_ctx *, unsigned int); void (*depth_updated)(struct blk_mq_hw_ctx *); + int (*async_depth_updated)(struct request_queue *, unsigned int); bool (*allow_merge)(struct request_queue *, struct request *, struct bio *); bool (*bio_merge)(struct request_queue *, struct bio *, unsigned int); -- 2.39.2