Re: [PATCH v3] fuse: invalidate page cache after sync and async direct writes

From: Miklos Szeredi

Date: Thu Apr 16 2026 - 06:38:51 EST


On Mon, 9 Mar 2026 at 09:36, Cheng Ding via B4 Relay
<devnull+cding.ddn.com@xxxxxxxxxx> wrote:
>
> From: Cheng Ding <cding@xxxxxxx>
>
> Fixes xfstests generic/451, similar to how commit b359af8275a9 ("fuse:
> Invalidate the page cache after FOPEN_DIRECT_IO write") fixes xfstests
> generic/209.

This just tells what this fixes, but not how it's fixed. Please elaborate.

One aspect in particular: why is the invalidation done in a worker
thread for async I/O?

Thanks,
Miklos