diff options
author | Jan Kara <jack@suse.cz> | 2017-11-01 18:36:40 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-11-03 16:26:25 +0300 |
commit | f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90 (patch) | |
tree | 7b1cefea7fb1588c6325a297d1f9f36b0e9f547e /drivers/mfd/davinci_voicecodec.c | |
parent | 9a0dd42251439de635088b97533109a935864a84 (diff) | |
download | linux-f5b7b74876cff5664ea8b2ef7f002c54cd6e7c90.tar.xz |
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 'drivers/mfd/davinci_voicecodec.c')
0 files changed, 0 insertions, 0 deletions