summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTal Zussman <tz2294@columbia.edu>2026-10-15 10:43:14 -0400
committerDavid Sterba <dsterba@suse.com>2026-10-16 19:10:45 +0200
commitbca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74 (patch)
tree258e800c0eb9b70415cb134d4561fcea63148d72 /scripts
parentcfeb5d28c0b877d1ef5fea50a2c20793c99464ae (diff)
downloadlinux-bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74.tar.gz
linux-bca2cf55a7331e6b0ff95ad47fc2a7e8ecc7dc74.zip
btrfs: drop the extent maps of the written part of a failed ordered extent
If a truncated ordered extent fails to complete, the extent maps for the part that was written are kept while the extent itself is freed below. A later read can follow them to blocks that have been reallocated. Drop the maps for the whole range on error. Fixes: 77cef2ec5484 ("Btrfs: allow partial ordered extent completion") Assisted-by: LLM Signed-off-by: Tal Zussman <tz2294@columbia.edu> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions