]> git.hungrycats.org Git - linux/commit
btrfs: remove the free space cache trimming ranges
authorTal Zussman <tz2294@columbia.edu>
Thu, 17 Sep 2026 04:00:07 +0000 (00:00 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 17 Sep 2026 17:49:48 +0000 (19:49 +0200)
commitdfce6462d321977cb86caa854a6950d2d50f7d7f
tree96b07252e2fc7c9cc3d0988c575b597daa423842
parent691151b8b3ce78244e92db9f10533468ec353981
btrfs: remove the free space cache trimming ranges

cache_writeout_mutex and trimming_ranges let the v1 cache writer see
ranges that were unlinked from the free space tree while being
discarded. Nothing consumes the list anymore, and the tree itself is
protected by tree_lock, so remove them.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.h