summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-10-03 18:43:08 +0300
committerDavid Sterba <dsterba@suse.com>2025-01-13 16:53:15 +0300
commit46bb6765d31138abe436b37a4f271895f7751bf2 (patch)
treeff2d3f23b960114f431b3fb917b38d62cf4580c2 /scripts/lib/kdoc/kdoc_files.py
parent0097422c0dfe0a943cf879777cabf299bb6258f7 (diff)
downloadlinux-46bb6765d31138abe436b37a4f271895f7751bf2.tar.xz
btrfs: don't build backref tree for COW-only blocks
We already determine the owner for any blocks we find when we're relocating, and for COW-only blocks (and the data reloc tree) we COW down to the block and call it good enough. However we still build a whole backref tree for them, even though we're not going to use it, and then just don't put these blocks in the cache. Rework the code to check if the block belongs to a COW-only root or the data reloc root, and then just cow down to the block, skipping the backref cache generation. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions