[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v2 01/14] block: Generalized bio pool freeing
- From: Tejun Heo <tj kernel org>
- To: Kent Overstreet <koverstreet google com>
- Cc: axboe kernel dk, yehuda hq newdream net, dm-devel redhat com, linux-kernel vger kernel org, linux-bcache vger kernel org, mpatocka redhat com, vgoyal redhat com, bharrosh panasas com, linux-fsdevel vger kernel org, sage newdream net, agk redhat com, drbd-dev lists linbit com
- Subject: Re: [dm-devel] [PATCH v2 01/14] block: Generalized bio pool freeing
- Date: Thu, 24 May 2012 09:09:44 -0700
On Wed, May 23, 2012 at 05:02:38PM -0700, Kent Overstreet wrote:
> With the old code, when you allocate a bio from a bio pool you have to
> implement your own destructor that knows how to find the bio pool the
> bio was originally allocated from.
>
> This adds a new field to struct bio (bi_pool) and changes
> bio_alloc_bioset() to use it. This makes various bio destructors
> unnecessary, so they're then deleted.
>
> Signed-off-by: Kent Overstreet <koverstreet google com>
> Change-Id: I5eb66c1d6910757f4af8755b8857dcbe4619cf8d
Please drop Change-ID tag and it would be great how you tested the
changes, other than that,
Acked-by: Tejun Heo <tj kernel org>
Thanks.
--
tejun
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]