block/mq-deadline: pass in queue directly to dd_insert_request()
authorJens Axboe <axboe@kernel.dk>
Fri, 19 Jan 2024 15:04:42 +0000 (08:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2024 22:03:34 +0000 (16:03 -0600)
commit415ab89f440f1abb988003eef2525f0b52a6be55
tree677fc385cff61afc3dca55d3d0d0403039ca508e
parent39cd87c4eb2b893354f3b850f916353f2658ae6f
block/mq-deadline: pass in queue directly to dd_insert_request()

The hardware queue isn't relevant, deadline only operates on the queue
itself. Pass in the queue directly rather than the hardware queue, as
that more clearly explains what is being operated on.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c