On 8/10/2021 4:02 PM, Christoph Hellwig wrote:
On Tue, Aug 10, 2021 at 03:36:39PM -0400, Qian Cai wrote:
quoted
On 8/9/2021 10:17 AM, Christoph Hellwig wrote:
quoted
Hi Jens,
this series moves the pointer to the bdi from the request_queue
to the bdi, better matching the life time rules of the different
objects.
Reverting this series fixed an use-after-free in bdev_evict_inode().
Please try the patch below as a band-aid. Although the proper fix is
that non-default bdi_writeback structures grab a reference to the bdi,
as this was a landmine that might have already caused spurious issues
before.
This works fine with a quick test.