lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eec8bd42-d874-93cf-23e2-b6c3997814ad@huawei.com>
Date:   Wed, 26 May 2021 17:55:05 +0800
From:   Chao Yu <yuchao0@...wei.com>
To:     Jan Kara <jack@...e.cz>, <linux-fsdevel@...r.kernel.org>
CC:     Christoph Hellwig <hch@...radead.org>,
        Dave Chinner <david@...morbit.com>,
        <ceph-devel@...r.kernel.org>,
        Damien Le Moal <damien.lemoal@....com>,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        Jaegeuk Kim <jaegeuk@...nel.org>,
        Jeff Layton <jlayton@...nel.org>,
        Johannes Thumshirn <jth@...nel.org>,
        <linux-cifs@...r.kernel.org>, <linux-ext4@...r.kernel.org>,
        <linux-f2fs-devel@...ts.sourceforge.net>, <linux-mm@...ck.org>,
        <linux-xfs@...r.kernel.org>, Miklos Szeredi <miklos@...redi.hu>,
        Steve French <sfrench@...ba.org>, Ted Tso <tytso@....edu>,
        Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH 10/13] f2fs: Convert to using invalidate_lock

On 2021/5/25 21:50, Jan Kara wrote:
> 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 <jaegeuk@...nel.org>
> CC: Chao Yu <yuchao0@...wei.com>
> CC: linux-f2fs-devel@...ts.sourceforge.net
> Signed-off-by: Jan Kara <jack@...e.cz>

Acked-by: Chao Yu <yuchao0@...wei.com>

Thanks,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ