summaryrefslogtreecommitdiff
path: root/iosched.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-03iosched: break out io scheduling functions from xutilsDaniel Borkmann1-0/+8
class='label'>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
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