Christoph Hellwig 49add4966d block: pass a block_device and opf to bio_init
Pass the block_device that we plan to use this bio for and the
operation to bio_init to optimize the assignment.  A NULL block_device
can be passed, both for the passthrough case on a raw request_queue and
to temporarily avoid refactoring some nasty code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220124091107.642561-19-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-02 07:49:59 -07:00
..
2022-01-15 16:30:29 +02:00
2021-10-22 16:00:31 -07:00
2018-06-06 14:17:53 -07:00
2021-09-02 09:21:27 -07:00
2022-01-12 15:46:11 -08:00
2019-10-28 08:37:54 -07:00
2018-06-06 14:17:53 -07:00
2022-01-22 11:04:27 +02:00
2022-01-11 14:26:55 -08:00
2021-11-24 10:06:02 -08:00
2021-12-04 08:58:53 -08:00
2022-01-12 15:46:11 -08:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-12-03 18:50:17 +01:00
2021-12-04 08:58:53 -08:00
2021-10-14 09:19:33 -07:00
2021-10-22 16:04:20 -07:00
2022-01-12 15:46:11 -08:00
2022-01-12 15:46:11 -08:00
2021-06-21 10:05:46 -07:00
2022-01-11 15:01:50 -08:00
2021-01-24 14:43:46 +01:00
2021-08-19 10:07:14 -07:00