diff options
author | Jan Kara <jack@suse.cz> | 2016-12-15 00:07:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 01:04:09 +0100 |
commit | a6abc2c0e77b16480f4d2c1eb7925e5287ae1526 (patch) | |
tree | 10bf5b877550bdcb4aac550b4bb9fd14772129fb /fs/pstore | |
parent | mm: export follow_pte() (diff) | |
download | linux-a6abc2c0e77b16480f4d2c1eb7925e5287ae1526.tar.xz linux-a6abc2c0e77b16480f4d2c1eb7925e5287ae1526.zip |
dax: make cache flushing protected by entry lock
Currently, flushing of caches for DAX mappings was ignoring entry lock.
So far this was ok (modulo a bug that a difference in entry lock could
cause cache flushing to be mistakenly skipped) but in the following
patches we will write-protect PTEs on cache flushing and clear dirty
tags. For that we will need more exclusion. So do cache flushing under
an entry lock. This allows us to remove one lock-unlock pair of
mapping->tree_lock as a bonus.
Link: http://lkml.kernel.org/r/1479460644-25076-19-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions