diff options
author | Jan Kara <jack@suse.cz> | 2017-11-01 16:36:40 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-11-03 14:26:25 +0100 |
commit | f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90 (patch) | |
tree | 7b1cefea7fb1588c6325a297d1f9f36b0e9f547e /include | |
parent | dax: Allow dax_iomap_fault() to return pfn (diff) | |
download | linux-f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90.tar.xz linux-f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90.zip |
dax: Allow tuning whether dax_insert_mapping_entry() dirties entry
Currently we dirty radix tree entry whenever dax_insert_mapping_entry()
gets called for a write fault. With synchronous page faults we would
like to insert clean radix tree entry and dirty it only once we call
fdatasync() and update page tables to save some unnecessary cache
flushing. Add 'dirty' argument to dax_insert_mapping_entry() for that.
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions