[f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-07-15 Thread Jan Kara
Convert ext4 to use mapping->invalidate_lock instead of its private EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. 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: CC: Ted Tso Acke

[f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-07-12 Thread Jan Kara
Convert ext4 to use mapping->invalidate_lock instead of its private EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. 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: CC: Ted Tso Acke

Re: [f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-06-22 Thread Theodore Ts'o
Sorry, forgot to send it out. Acked-by: Theodore Ts'o ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Re: [f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-06-22 Thread Jan Kara
On Thu 17-06-21 09:22:40, Darrick J. Wong wrote: > On Tue, Jun 15, 2021 at 11:17:55AM +0200, Jan Kara wrote: > > Convert ext4 to use mapping->invalidate_lock instead of its private > > EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. By this > > conversion we fix a long standing race b

Re: [f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-06-17 Thread Darrick J. Wong
On Tue, Jun 15, 2021 at 11:17:55AM +0200, Jan Kara wrote: > Convert ext4 to use mapping->invalidate_lock instead of its private > EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. By this > conversion we fix a long standing race between hole punching and read(2) > / readahead(2) paths t

[f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-06-15 Thread Jan Kara
Convert ext4 to use mapping->invalidate_lock instead of its private EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. 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: CC: Ted Tso Sign

[f2fs-dev] [PATCH 05/14] ext4: Convert to use mapping->invalidate_lock

2021-06-07 Thread Jan Kara
Convert ext4 to use mapping->invalidate_lock instead of its private EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. 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: CC: Ted Tso Sign