[Drbd-dev] [PATCH 18/19] block: pass a block_device and opf to bio_init

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Jan 18 23:15:35 CET 2022


On 1/17/22 11:19 PM, Christoph Hellwig wrote:
> Pass the block_device that we plan to use this bio for and the
> operation to bio_init to optimize the assigment.  A NULL block_device
's/assigment/assignment' ?
> 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 at lst.de>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>



More information about the drbd-dev mailing list