diff options
author | Dave Chinner <[email protected]> | 2016-08-17 08:31:33 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-08-17 08:31:33 +1000 |
commit | 8b2180b3bf0338625cab07da6543acb436df9c40 (patch) | |
tree | 8a1499589ff2f7f04a5d481eb7cc4894468da85e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 0af32fb468b4a4434dd759d68611763658650b59 (diff) |
xfs: don't invalidate whole file on DAX read/write
When we do DAX IO, we try to invalidate the entire page cache held
on the file. This is incorrect as it will trash the entire mapping
tree that now tracks dirty state in exceptional entries in the radix
tree slots.
What we are trying to do is remove cached pages (e.g from reads
into holes) that sit in the radix tree over the range we are about
to write to. Hence we should just limit the invalidation to the
range we are about to overwrite.
Reported-by: Jan Kara <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions