iolog: punt freeing of data back to original thread
authorJens Axboe <axboe@kernel.dk>
Thu, 22 Jun 2017 22:20:36 +0000 (16:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Jun 2017 22:20:36 +0000 (16:20 -0600)
commit858bce7034e75e3134245c0262fa49473100dd44
tree21a4509025d3fe634ddd9c624039349d3f025552
parentdab41b1c4322d968da5d69ceddac85a227675614
iolog: punt freeing of data back to original thread

This is a bit of a hack, since we can't touch the memory passed in.
But we should, at most have 1-2 entries deferred, so having an
array of 8 should suffice. Add a single-trigger warning if that
logic fails.

This should fix corruption on using log compression, when we have
to do runtime compressing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
iolog.c
iolog.h