[f2fs-dev] [PATCH 11/14] f2fs: Convert to using invalidate_lock

2021-07-15 Thread Jan Kara
Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Jaegeuk Kim CC: Chao Yu CC:

[f2fs-dev] [PATCH 11/14] f2fs: Convert to using invalidate_lock

2021-07-12 Thread Jan Kara
Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Jaegeuk Kim CC: Chao Yu CC:

[f2fs-dev] [PATCH 11/14] f2fs: Convert to using invalidate_lock

2021-06-15 Thread Jan Kara
Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Jaegeuk Kim CC: Chao Yu CC:

[f2fs-dev] [PATCH 11/14] f2fs: Convert to using invalidate_lock

2021-06-07 Thread Jan Kara
Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Jaegeuk Kim CC: Chao Yu CC: