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.

