Files
apfstests/tests/generic
Ross Zwisler bba1b1b2b9 generic: add regression test for stale mmap reads
This adds a regression test for the following kernel patch:

  dax: fix data corruption due to stale mmap reads

The above patch fixes an issue where users of DAX can suffer data
corruption from stale mmap reads via the following sequence:

- open an mmap over a 2MiB hole

- read from a 2MiB hole, faulting in a 2MiB zero page

- write to the hole with write(3p).  The write succeeds but we incorrectly
  leave the 2MiB zero page mapping intact.

- via the mmap, read the data that was just written.  Since the zero page
  mapping is still intact we read back zeroes instead of the new data.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-04-27 12:00:14 +08:00
..
2017-02-04 14:16:43 +08:00
2016-11-14 10:37:49 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2016-07-20 11:15:52 +08:00
2017-04-07 13:11:56 +08:00
2016-11-14 10:37:49 +08:00
2017-02-23 15:08:04 +08:00
2016-07-20 11:15:52 +08:00
2016-11-14 10:37:49 +08:00
2016-12-24 18:12:10 +08:00
2016-11-14 10:37:49 +08:00
2017-01-15 13:56:45 +08:00
2016-09-26 10:17:29 +08:00
2017-01-15 13:56:45 +08:00
2017-01-15 13:56:45 +08:00
2017-01-15 13:56:45 +08:00
2017-03-13 11:58:56 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-08-26 15:45:00 +08:00
2016-08-26 15:45:00 +08:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2016-09-24 00:39:13 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2016-12-24 16:47:12 +08:00
2016-12-24 16:47:12 +08:00
2017-01-27 16:06:12 +08:00
2016-12-24 20:21:55 +08:00
2016-12-24 20:21:55 +08:00
2017-02-15 17:55:41 +08:00
2017-02-15 17:55:57 +08:00
2017-03-02 12:26:17 +08:00
2017-03-02 12:26:17 +08:00
2017-03-17 13:17:42 +08:00
2017-04-11 12:34:24 +08:00
2017-04-11 12:34:24 +08:00
2017-04-21 11:14:34 +08:00