[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v10 1/8] block: Generalized bio pool freeing
- From: Alasdair G Kergon <agk redhat com>
- To: Kent Overstreet <koverstreet google com>
- Cc: Jens Axboe <axboe kernel dk>, dm-devel redhat com, linux-kernel vger kernel org, linux-bcache vger kernel org, Lars Ellenberg <lars ellenberg linbit com>, Alasdair Kergon <agk redhat com>
- Subject: Re: [dm-devel] [PATCH v10 1/8] block: Generalized bio pool freeing
- Date: Fri, 14 Sep 2012 19:36:10 +0100
On Thu, Sep 06, 2012 at 03:34:55PM -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.
If you reinstate commit 4d7b38b7d944a79da3793b6c92d38682f3905ac9
"dm: clear bi_end_io on remapping failure",
Acked-by: Alasdair Kergon <agk redhat com>
for the device-mapper parts.
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]