[Drbd-dev] [PATCH 01/32] block: Provide blkdev_get_handle_* functions

Bart Van Assche bvanassche at acm.org
Tue Jul 4 16:06:26 CEST 2023


On 7/4/23 05:21, Jan Kara wrote:
> +struct bdev_handle {
> +	struct block_device *bdev;
> +	void *holder;
> +};

Please explain in the patch description why a holder pointer is 
introduced in struct bdev_handle and how it relates to the bd_holder 
pointer in struct block_device. Is one of the purposes of this patch 
series perhaps to add support for multiple holders per block device?

Thanks,

Bart.



More information about the drbd-dev mailing list