Re: [fstests PATCH v2] generic: add test for DAX MAP_SYNC support

2017-10-25 Thread Ross Zwisler
On Wed, Oct 25, 2017 at 03:19:22PM +0300, Amir Goldstein wrote: > On Sun, Oct 22, 2017 at 9:56 AM, Amir Goldstein wrote: > > On Sat, Oct 21, 2017 at 12:25 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

Re: [fstests PATCH v2] generic: add test for DAX MAP_SYNC support

2017-10-25 Thread Amir Goldstein
On Sun, Oct 22, 2017 at 9:56 AM, Amir Goldstein wrote: > On Sat, Oct 21, 2017 at 12:25 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

Re: [fstests PATCH v2] generic: add test for DAX MAP_SYNC support

2017-10-21 Thread Amir Goldstein
On Sat, Oct 21, 2017 at 12:25 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-lo

[fstests PATCH v2] 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 1MiB of on-media blo