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

Matthew Wilcox willy at infradead.org
Tue Jul 4 18:14:01 CEST 2023


On Tue, Jul 04, 2023 at 07:06:26AM -0700, Bart Van Assche wrote:
> 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?

That is all in patch 0/32.  Why repeat it?


More information about the drbd-dev mailing list