[dm-devel] [PATCH v6 02/13] dm: Use bioset's front_pad for dm_rq_clone_bio_info

Tejun Heo tj at kernel.org
Wed Aug 22 18:32:52 UTC 2012


On Wed, Aug 22, 2012 at 10:03:59AM -0700, Kent Overstreet wrote:
> Previously, dm_rq_clone_bio_info needed to be freed by the bio's
> destructor to avoid a memory leak in the blk_rq_prep_clone() error path.
> This gets rid of a memory allocation and means we can kill
> dm_rq_bio_destructor.
> 
> v6: Fix comment on struct dm_rq_clone_bio_info, per Tejun
> 
> Signed-off-by: Kent Overstreet <koverstreet at google.com>
> CC: Alasdair Kergon <agk at redhat.com>

 Acked-by: Tejun Heo <tj at kernel.org>

It would be nice if dm people can review these patches tho.

Thanks.

-- 
tejun




More information about the dm-devel mailing list