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 06:26:25 -0700 |
commit | f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90 (patch) | |
tree | 7b1cefea7fb1588c6325a297d1f9f36b0e9f547e /fs/proc | |
parent | 9a0dd42251439de635088b97533109a935864a84 (diff) | |
download | linux-f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90.tar.gz linux-f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90.tar.bz2 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 'fs/proc')
0 files changed, 0 insertions, 0 deletions