diff options
| author | Filipe Manana <[email protected]> | 2022-11-01 16:15:42 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 18:00:49 +0100 |
| commit | d3f41317f0fedac6b0a3de68b3dab66b71923dd8 (patch) | |
| tree | 3cd86eba89f989d6ea1c3895336e588032a6460f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 61ce908a3c260fbe37826a6cbd56636abeffcd28 (diff) | |
btrfs: send: update comment at find_extent_clone()
We have this unclear comment at find_extent_clone() about extents starting
at a file offset greater than or equals to the i_size of the inode. It's
not really informative and it's misleading, since it mentions the author
found such extents with snapshots and large files.
Such extents are a result of fallocate with FALLOC_FL_KEEP_SIZE and there
is no relation to snapshots or large files (all write paths update the
i_size before inserting a new file extent item). So update the comment to
be precise about it and why we don't bother looking for clone sources in
that case.
Signed-off-by: Filipe Manana <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions