[Drbd-dev] [PATCH v3 02/16] dm: Use bioset's front_pad for dm_rq_clone_bio_info

Tejun Heo tj at kernel.org
Mon May 28 03:21:07 CEST 2012


On Fri, May 25, 2012 at 01:25:25PM -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.

To what goal are we doing this?  How is it tested?

-- 
tejun


More information about the drbd-dev mailing list