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

Alasdair G Kergon agk at redhat.com
Tue Aug 15 15:17:25 UTC 2006


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 rather than grow.

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list