diff options
author | Ross Zwisler <[email protected]> | 2016-02-05 15:36:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-02-05 18:10:40 -0800 |
commit | 9c5a05bc350c29285a89d6e1f3b68c8c7f308207 (patch) | |
tree | 008d10ead8e0106b98a75b00ee2bdf477575c6bd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 823dd3224a07f618d652a7743c9603222d019de3 (diff) |
block: fix pfn_mkwrite() DAX fault handler
Previously the pfn_mkwrite() fault handler for raw block devices called
bldev_dax_fault() -> __dax_fault() to do a full DAX page fault.
Really what the pfn_mkwrite() fault handler needs to do is call
dax_pfn_mkwrite() to make sure that the radix tree entry for the given
PTE is marked as dirty so that a follow-up fsync or msync call will
flush it durably to media.
Fixes: 5a023cdba50c ("block: enable dax for raw block devices")
Signed-off-by: Ross Zwisler <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Chinner <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions