[dm-devel] [PATCH 19/19] block: pass a block_device and opf to bio_reset

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Jan 18 22:16:06 UTC 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_reset to optimize the assigment.  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 at lst.de>
> ---

Looks good.

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





More information about the dm-devel mailing list