diff options
| author | Hao Xu <[email protected]> | 2023-08-01 16:06:45 +0800 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2023-08-16 12:20:37 +0200 |
| commit | 80e4f25262f9f1a5f08154fafaa6ac4371043d35 (patch) | |
| tree | 7c26489425a478e5461ed04beb89ea86e3d7ca70 /drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | |
| parent | b8bd342d50cbf606666488488f9fea374aceb2d5 (diff) | |
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 <[email protected]>
Tested-by: Jiachen Zhang <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c')
0 files changed, 0 insertions, 0 deletions