diff options
author | Darrick J. Wong <[email protected]> | 2018-10-05 19:04:27 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2018-10-05 19:04:27 +1000 |
commit | 410fdc72b05afabef3afb51167085799dcc7b3cf (patch) | |
tree | b47c895971b7fd030a4b0ba3e0503fd1f7f8c274 /tools/perf/util/trace-event-scripting.c | |
parent | 0d41e1d28c2e969094ef7933b8521f1e08d30251 (diff) |
xfs: zero posteof blocks when cloning above eof
When we're reflinking between two files and the destination file range
is well beyond the destination file's EOF marker, zero any posteof
speculative preallocations in the destination file so that we don't
expose stale disk contents. The previous strategy of trying to clear
the preallocations does not work if the destination file has the
PREALLOC flag set.
Uncovered by shared/010.
Reported-by: Zorro Lang <[email protected]>
Bugzilla-id: https://bugzilla.kernel.org/show_bug.cgi?id=201259
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions