]> git.ipfire.org Git - thirdparty/linux.git/commit
block: take rq_list instead of plug in dispatch functions
authorCaleb Sander Mateos <csander@purestorage.com>
Sat, 26 Apr 2025 01:17:26 +0000 (19:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 2 May 2025 15:21:08 +0000 (09:21 -0600)
commit0aeb7ebfc7e3d4bef3542aadd33505452d2f9b82
tree11f917fd64016c360a4ead3a76d834e8286890a2
parent9e4f11c1228cc8ebf236cfa51d44abafec80f326
block: take rq_list instead of plug in dispatch functions

blk_mq_plug_issue_direct(), __blk_mq_flush_plug_list(), and
blk_mq_dispatch_plug_list() take a struct blk_plug * but only use its
mq_list. Pass the struct rq_list * instead in preparation for calling
them with other lists of requests.

Drop "plug" from the function names as they are no longer plug-specific.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250426011728.4189119-2-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/mq-deadline.c