]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: Invalidate the page cache after FOPEN_DIRECT_IO write
authorBernd Schubert <bschubert@ddn.com>
Wed, 22 Oct 2025 22:21:17 +0000 (00:21 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 13 Nov 2025 13:54:05 +0000 (14:54 +0100)
commitb359af8275a982a458e8df6c6beab1415be1f795
tree6d92185aa8a9c813ccdd9954f47452100f92bea3
parent47781ee71fb6bf2e082580b98be72411b99b6e04
fuse: Invalidate the page cache after FOPEN_DIRECT_IO write

generic_file_direct_write() also does this and has a large
comment about.

Reproducer here is xfstest's generic/209, which is exactly to
have competing DIO write and cached IO read.

Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c