summaryrefslogtreecommitdiff
path: root/drivers/sn
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-06-01 20:48:15 -0700
committerDan Williams <dan.j.williams@intel.com>2016-07-11 16:16:03 -0700
commit7e267a8c790edfde9b697cbe944ee566f41219c3 (patch)
tree09133c8e81f5be702f649de096b5661419170418 /drivers/sn
parent0c27af60d1bbd33c7d3dffb46a4c9f6aa103d754 (diff)
libnvdimm, pmem: use REQ_FUA, REQ_FLUSH for nvdimm_flush()
Given that nvdimm_flush() has higher overhead than wmb_pmem() (pointer chasing through nd_region), and that we otherwise assume a platform has ADR capability when flush hints are not present, move nvdimm_flush() to REQ_FLUSH context. Note that we still arrange for nvdimm_flush() to be called even in the ADR case. We need at least once wmb() fence to push buffered writes in the cpu out to the ADR protected domain. Cc: Toshi Kani <toshi.kani@hpe.com> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions