Re: [PATCH v6 02/13] dm: Use bioset's front_pad for dm_rq_clone_bio_info
From: Tejun Heo <hidden>
Date: 2012-08-22 18:32:59
Also in:
dm-devel, lkml
From: Tejun Heo <hidden>
Date: 2012-08-22 18:32:59
Also in:
dm-devel, lkml
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 <redacted> CC: Alasdair Kergon <redacted>
Acked-by: Tejun Heo [off-list ref] It would be nice if dm people can review these patches tho. Thanks. -- tejun