Re: Re: [PATCH] device-mapper core should use private bioset

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

 



Alasdair G Kergon <agk@xxxxxxxxxx> wrote on 15.08.2006 17:17:25:

> On Tue, Aug 15, 2006 at 05:03:34PM +0200, Stefan Bader wrote:
> > --- linux-2.6.17/drivers/md/dm.c   2006-06-19 14:01:40.000000000 +0200
> > +++ linux-2.6.17-new/drivers/md/dm.c   2006-08-15 16:21:30.000000000 
+0200
> > @@ -44,6 +44,7 @@ struct dm_io {
> >  struct target_io {
> >     struct dm_io *io;
> >     struct dm_target *ti;
> > +   struct bio_set *bs;
> >     union map_info info;
> >  };
> 
> Can this be avoided, perhaps with some cunning?
> As indicated in the comment, we want this structure to shrink ratherthan 
grow.
> 

IMHO the best solution would be to have a bio reference the bioset it came 
from.
But then I don't think people would like the bio structure to grow... I'll 
give
it some more thought.

Stefan

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux