[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170509121837.26153-1-jack@suse.cz>
Date: Tue, 9 May 2017 14:18:33 +0200
From: Jan Kara <jack@...e.cz>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Ross Zwisler <ross.zwisler@...ux.intel.com>,
Dan Williams <dan.j.williams@...el.com>,
<linux-fsdevel@...r.kernel.org>, <linux-ext4@...r.kernel.org>,
linux-nvdimm@...ts.01.org, <linux-mm@...ck.org>,
Jan Kara <jack@...e.cz>
Subject: [PATCH 0/4 v3] mm,dax: Fix data corruption due to mmap inconsistency
Hello,
this series fixes data corruption that can happen for DAX mounts when
page faults race with write(2) and as a result page tables get out of sync
with block mappings in the filesystem and thus data seen through mmap is
different from data seen through read(2).
The series passes testing with t_mmap_stale test program from Ross and also
other mmap related tests on DAX filesystem.
Andrew, can you please merge these patches? Thanks!
Changes since v2:
* Added reviewed-by tag from Ross
Changes since v1:
* Improved performance of unmapping pages
* Changed fault locking to fix another write vs fault race
Honza
Powered by blists - more mailing lists