diff options
author | Jan Kara <[email protected]> | 2016-12-14 15:07:53 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-12-14 16:04:09 -0800 |
commit | 4b4bb46d00b386e1c972890dc5785a7966eaa9c0 (patch) | |
tree | 62a4a73bacb4caca2ddea0114d4193a4941522d3 /tools/testing/radix-tree/linux/bug.h | |
parent | 2f89dc12a25ddf995b9acd7b6543fe892e3473d6 (diff) |
dax: clear dirty entry tags on cache flush
Currently we never clear dirty tags in DAX mappings and thus address
ranges to flush accumulate. Now that we have locking of radix tree
entries, we have all the locking necessary to reliably clear the radix
tree dirty tag when flushing caches for corresponding address range.
Similarly to page_mkclean() we also have to write-protect pages to get a
page fault when the page is next written to so that we can mark the
entry dirty again.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Ross Zwisler <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/bug.h')
0 files changed, 0 insertions, 0 deletions