summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorHao Xu <howeyxu@tencent.com>2023-08-01 11:06:45 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2023-08-16 13:20:37 +0300
commit80e4f25262f9f1a5f08154fafaa6ac4371043d35 (patch)
tree7c26489425a478e5461ed04beb89ea86e3d7ca70 /fs/fuse/fuse_i.h
parentb8bd342d50cbf606666488488f9fea374aceb2d5 (diff)
downloadlinux-80e4f25262f9f1a5f08154fafaa6ac4371043d35.tar.xz
fuse: invalidate page cache pages before direct write
In FOPEN_DIRECT_IO, page cache may still be there for a file since private mmap is allowed. Direct write should respect that and invalidate the corresponding pages so that page cache readers don't get stale data. Signed-off-by: Hao Xu <howeyxu@tencent.com> Tested-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
0 files changed, 0 insertions, 0 deletions