blk-mq: pass a flags argument to blk_mq_insert_request
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:54 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:30 +0000 (06:52 -0600)
commit710fa3789ed94ceee9675f8e189aaf3e7525269a
tree64e7ea4e1094487dc82bc2ad6110f0b3316378db
parent214a441805b8cc090930fb00193125e22466a95a
blk-mq: pass a flags argument to blk_mq_insert_request

Replace the at_head bool with a flags argument that so far only contains
a single BLK_MQ_INSERT_AT_HEAD value.  This makes it much easier to grep
for head insertions into the blk-mq dispatch queues.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-mq.h