[Cluster-devel] [GIT PULL] gfs2 fix

Linus Torvalds torvalds at linux-foundation.org
Tue Jun 6 12:55:19 UTC 2023


On Tue, Jun 6, 2023 at 5:48 AM Andreas Gruenbacher <agruenba at redhat.com> wrote:
>
> - Don't get stuck writing page onto itself under direct I/O.

Btw, is there a test for this DIO case?

We've had the deadlock issue on t page lock (or for inode locks or
whatever) for normal IO when faulting in the same page that is written
to, and we have as pattern for solving that and I think there are
filesystem tests that trigger this.

But the DIO pattern is a bit different, with the whole "invalidate
page cache: issue, and the fact that you send this patch now (rather
than years ago) makes me wonder about test coverage for this all?

                Linus



More information about the Cluster-devel mailing list