dax: update I/O path to do proper PMEM flushing
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Tue, 18 Aug 2015 19:55:40 +0000 (13:55 -0600)
committerDan Williams <dan.j.williams@intel.com>
Thu, 20 Aug 2015 18:07:24 +0000 (14:07 -0400)
commit2765cfbb342c727c3fd47b165196cb16da158022
treefb22ad4836a0c4ae88ef477df51434266f33d012
parent5de490daec8b6354b90d5c9d3e2415b195f5adb6
dax: update I/O path to do proper PMEM flushing

Update the DAX I/O path so that all operations that store data (I/O
writes, zeroing blocks, punching holes, etc.) properly synchronize the
stores to media using the PMEM API.  This ensures that the data DAX is
writing is durable on media before the operation completes.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c