Re: [PATCH 11/29] md: Convert to bdev_open_by_dev()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun 13-08-23 19:54:56, Song Liu wrote:
> On Fri, Aug 11, 2023 at 3:05 PM Jan Kara <jack@xxxxxxx> wrote:
> [...]
> > diff --git a/drivers/md/md.h b/drivers/md/md.h
> > index 1aef86bf3fc3..e8108845157b 100644
> > --- a/drivers/md/md.h
> > +++ b/drivers/md/md.h
> > @@ -59,6 +59,7 @@ struct md_rdev {
> >          */
> >         struct block_device *meta_bdev;
> >         struct block_device *bdev;      /* block device handle */
> > +       struct bdev_handle *bdev_handle;        /* Handle from open for bdev */
> 
> With bdev_handle, we should eventually get rid of md_rdev->bdev.
> But that can be done in a separate patch.

Yeah, we can do that. But in the case of md it would cause a relatively
large amount of churn so at least for this series I've stayed with the
minimal solution.

> Acked-by: Song Liu <song@xxxxxxxxxx>

Thanks!

								Honza
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux