Christoph Hellwig 0b573692f1 blk-mq: factor out a blk_rq_init_flush helper
Factor out a helper from blk_insert_flush that initializes the flush
machine related fields in struct request, and don't bother with the
full memset as there's just a few fields to initialize, and all but
one already have explicit initializers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230519044050.107790-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-05-19 19:52:29 -06:00
..
2023-05-06 08:28:58 -07:00
2023-04-26 12:52:58 -07:00
2023-04-26 12:52:58 -07:00
2023-03-30 08:12:29 -06:00
2022-02-02 07:49:59 -07:00
2023-05-06 08:28:58 -07:00
2023-04-26 12:52:58 -07:00
2022-03-07 12:48:35 -07:00