aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2017-06-09 09:46:50 -0700
committerDan Williams <[email protected]>2017-06-29 09:29:50 -0700
commit0b277961f4484fb3f142caaa1dd1748cb0b2cbee (patch)
treec3ba6190530a8732a64df8e2dba2c6028d36a2eb /include/linux/fpga/fpga-mgr.h
parent6e0c90d691cd5d90569f5918ab03eb76c81f9c6e (diff)
libnvdimm, pmem: disable dax flushing when pmem is fronting a volatile region
The pmem driver attaches to both persistent and volatile memory ranges advertised by the ACPI NFIT. When the region is volatile it is redundant to spend cycles flushing caches at fsync(). Check if the hosting region is volatile and do not set dax_write_cache() if it is. Cc: Jan Kara <[email protected]> Cc: Jeff Moyer <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Ross Zwisler <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions