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

2017-10-21 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

Re: [dm-devel] [PATCH 1/4] bcache: convert cached_dev.count from atomic_t to refcount_t

2017-10-21 Thread Michael Lyle
On 10/20/2017 12:37 AM, Elena Reshetova wrote: > atomic_t variables are currently used to implement reference > counters with the following properties: > - counter is initialized to 1 using atomic_set() > - a resource is freed upon counter reaching zero > - once counter reaches zero, its further