diff options
author | 2015-11-03 12:37:02 +1100 | |
---|---|---|
committer | 2015-11-03 12:37:02 +1100 | |
commit | 13ad4fe3e087ab66a140f1e00d98f28aa4e3bb28 (patch) | |
tree | e8f2cddd593803af2c6b8f6c31721ce7fe9d1fdb /tools/perf/scripts/python | |
parent | xfs: add ->pfn_mkwrite support for DAX (diff) | |
download | linux-dev-13ad4fe3e087ab66a140f1e00d98f28aa4e3bb28.tar.xz linux-dev-13ad4fe3e087ab66a140f1e00d98f28aa4e3bb28.zip |
xfs: xfs_filemap_pmd_fault treats read faults as write faults
The code initially committed didn't have the same checks for write
faults as the dax_pmd_fault code and hence treats all faults as
write faults. We can get read faults through this path because they
is no pmd_mkwrite path for write faults similar to the normal page
fault path. Hence we need to ensure that we only do c/mtime updates
on write faults, and freeze protection is unnecessary for read
faults.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions