commit | 91131dbd1d50637dc338526502a1a2ec5a7f97df | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Jun 01 23:14:22 2016 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jul 12 15:13:48 2016 -0700 |
tree | 922dd917f0d3f9884be31fd94166e805ebc4b545 | |
parent | 14df6a4e7eba62442aed70dfd5bbd76d2e491d50 [diff] |
libnvdimm, pmem: use nvdimm_flush() for namespace I/O writes nsio_rw_bytes() is used to write info block metadata to the namespace, so it should trigger a flush after every write. Replace wmb_pmem() with nvdimm_flush() in this path. Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>