# Re: \[PATCH v3 02/16\] dm: Use bioset's front\_pad for dm\_rq\_clone\_bio\_info

- From: Tejun Heo \<hidden\>
- Date: 2012-05-28 01:21:07 
- List: linux-bcache
- Page: https://ratatoskr.run/linux-bcache/2012/05/64548
- Thread: https://ratatoskr.run/dm-devel/2012/05/64548/t.md

```text
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
```
