Re: [PATCH 1/1] Revert "iomap: fall back to buffered writes for invalidation failures"

From: Andreas Gruenbacher
Date: Wed Feb 09 2022 - 10:20:30 EST


On Wed, Feb 9, 2022 at 4:09 PM Christoph Hellwig <hch@xxxxxx> wrote:
> On Wed, Feb 09, 2022 at 08:52:43AM +0000, Lee Jones wrote:
> > This reverts commit 60263d5889e6dc5987dc51b801be4955ff2e4aa7.
> >
> > Reverting since this commit opens a potential avenue for abuse.
> >
> > The C-reproducer and more information can be found at the link below.

This reproducer seems to be working fine on gfs2, but the locking in
gfs2 differs hugely from that of other filesystems.

> > With this patch applied, I can no longer get the repro to trigger.
>
> Well, maybe you should actually debug and try to understand what is
> going on before blindly reverting random commits.

Andreas