Hasty Briefsbeta

Linux Patches Begin Adapting Raid Code to Use Folios

a day ago
  • #RAID
  • #Linux
  • #Folios
  • Linux kernel patches are adapting RAID code to use folios for better performance.
  • Folios, introduced in Linux 5.16, manage contiguous memory pages more efficiently.
  • Huawei engineer Li Nan proposed using folios for sync I/O in RAID1 and RAID10.
  • Previously, RAID used 16 x 4K pages for 64K sync I/O; now consolidated into a single 64K folio.
  • This is the first step towards full folio support in Linux RAID code.
  • The patches were tested with mdadm and additional fault injection stress tests.