Btrfs prepares for huge folios of two MB in Linux seven point two

Published on May 28, 2026 | Translated from Spanish

The Btrfs file system is advancing towards support for huge folios of up to 2 MB, with patches already integrated into the for-next branch of Linux kernel 7.2. This update promises to improve I/O performance, reduce system overhead, and optimize memory management in intensive workloads. 🚀

Btrfs filesystem internal structure visualization, 2 MB huge folio pages being assembled from smaller 4 KB blocks during memory defragmentation, glowing data pathways showing reduced page table overhead, kernel scheduler interacting with block I/O layer, metallic circuit board background with data flow lines, cinematic technical illustration, blue and orange neon highlights, photorealistic engineering render, detailed memory management units and storage controllers in action

Technical details of the for-next integration 🔧

The patches allow Btrfs to natively handle large pages (folios), aligning with the Linux memory subsystem. This involves changes in buffer allocation and read/write operations, aiming to minimize the number of atomic operations and contention in the page cache. The work has focused on maintaining compatibility with existing configurations.

Giant folios: the new filesystem trend 😎

Finally, Btrfs developers have decided that 4 KB is no longer cool and are jumping on the 2 MB folio bandwagon. Because, let's be honest, if you don't have pages the size of a high-resolution meme, you're not optimizing anything. Of course, let's hope this trend doesn't end up like bell-bottom pants: very promising at first, but then you realize they just get in the way when you walk.