diff options
| author | Liu Bo <[email protected]> | 2016-11-04 12:20:54 -0700 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2016-11-30 13:45:18 +0100 |
| commit | a23eaa875f0f1d89eb866b8c9860e78273ff5daf (patch) | |
| tree | b054482b1706390b6e5eefb435ba71393d505902 /tools/perf/scripts/python | |
| parent | 7b9ea6279b337455268fa41c1ddec22f1cb44e8f (diff) | |
Btrfs: adjust len of writes if following a preallocated extent
If we have
|0--hole--4095||4096--preallocate--12287|
instead of using preallocated space, a 8K direct write will just
create a new 8K extent and it'll end up with
|0--new extent--8191||8192--preallocate--12287|
It's because we find a hole em and then go to create a new 8K
extent directly without adjusting @len.
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: Chris Mason <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions