[dm-devel] [fstests PATCH] generic: add test for DAX MAP_SYNC support

2017-10-20 Thread Ross Zwisler
Add a test that exercises DAX's new MAP_SYNC flag. This test creates a file and writes to it via an mmap(), but never syncs via fsync/msync. This process is tracked via dm-log-writes, then replayed. If MAP_SYNC is working the dm-log-writes replay will show the test file with the same size that w

Re: [dm-devel] [fstests PATCH] generic: add test for DAX MAP_SYNC support

2017-10-20 Thread Amir Goldstein
On Fri, Oct 20, 2017 at 8:29 AM, Ross Zwisler wrote: > Add a test that exercises DAX's new MAP_SYNC flag. > > This test creates a file and writes to it via an mmap(), but never syncs > via fsync/msync. This process is tracked via dm-log-writes, then replayed. > > If MAP_SYNC is working the dm-log