Thread (28 messages) flat view 28 messages, 5 authors, 2021-06-10

Re: [PATCH 12/14] fuse: Convert to using invalidate_lock

From: Miklos Szeredi <miklos@szeredi.hu>
Date: 2021-06-10 12:42:25
Also in: ceph-devel, linux-cifs, linux-f2fs-devel, linux-fsdevel, linux-mm, linux-xfs

On Mon, 7 Jun 2021 at 16:52, Jan Kara [off-list ref] wrote:
Use invalidate_lock instead of fuse's 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: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Miklos Szeredi <redacted>

Thanks,
Miklos
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help