Re: [PATCH] fs: System memory leak when running HTX with T10 DIF enabled
From: Christoph Hellwig
Date: Wed Jun 28 2017 - 17:25:49 EST
On Wed, Jun 28, 2017 at 02:11:31PM -0700, Shaohua Li wrote:
> I fixed the same issue in the blktrace patches. It did the free in bio_endio.
Moving all the frees to bio_endio does indeed seem sensible,
as it avoids the additional calls for the bio_init()ed bios.