diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-06-28 18:31:23 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-08-21 15:52:14 +0300 |
| commit | 53ffb30a784d30db4d4cd074b4da46fa2472ab60 (patch) | |
| tree | e32f349ccb0f94d96f3ce0ecf9e97273a6b062d3 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ba9145add52422779935f6d1b645a31a50c02af2 (diff) | |
| download | linux-53ffb30a784d30db4d4cd074b4da46fa2472ab60.tar.xz | |
btrfs: don't create inline extents in fallback_to_cow
For NOCOW files, run_delalloc_nocow can still fall back to COW
allocations when required and calls to fallback_to_cow helper for
that. For such an allocation we can have multiple ordered_extents
for existing extents that NOCOW overwrites and new allocations that
fallback_to_cow creates. If one of the new extents is an inline
extent, the writepages could would have to avoid normal page writeback
for them as indicated by the page_started return argument, which
run_delalloc_nocow can't return. Fix this by never creating inline
extents from fallback_to_cow.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
