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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 11 Feb 2019 00:12:17 -0500
From:   "Theodore Y. Ts'o" <tytso@....edu>
To:     yangerkun <yangerkun@...wei.com>
CC:     <jack@...e.com>, <miaoxie@...wei.com>, <yi.zhang@...wei.com>,
        <houtao1@...wei.com>, <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH V2 2/4] ext4: cleanup pagecache before swap i_data

On Tue, Jan 22, 2019 at 02:58:21PM +0800, yangerkun wrote:
> While do swap, we should make sure there has no new dirty page since we
> should swap i_data between two inode:
> 1.We should locki i_mmap_sem with write to avoid new pagecache from mmap
> read/write;
> 2.Change filemap_flush to filemap_write_and_wait and move them to the
> space protected by inode lock to avoid new pagecache from buffer read/write.
> 
> Signed-off-by: yangerkun <yangerkun@...wei.com>

Thanks, applied.

					- Ted

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ