On Wed, Oct 11, 2017 at 10:05:55PM +0200, Jan Kara wrote: > 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 same some unnecessary cache > flushing. Add 'dirty' argument to dax_insert_mapping_entry() for that. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Looks good. Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>