David Sterba of SUSE has recently submitted a Btrfs driver update for Linux 6.3. As with previous Linux kernel development cycles, this Btrfs Pull further optimizes performance and introduces some new features.
This driver update introduces the block group allocation class algorithm for Btrfs in Linux 6.3, which avoids fragmentation in block groups by packing files by size.
Btrfs improved reliability for RAID5 and RAID6 in Linux 6.2, and further code cleanup and refactoring was done in Linux 6.3 to enhance support for these two RAID modes.
Performance
send:utimes caches directories and issues commands only when necessary
10x faster
Smaller final generated streams (no redundant utimes commands issued)
Does not affect the compatibility
fiemap: skip backref checks for shared leaves
3x speedup on all shared leaves example filesystems (e.g., on some snapshots)
Detailed optimization of b-tree key lookups to speed up metadata operations (sample test: fs_mark transfers files 10% faster per second)