News: 0001479453

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

XFS Real-Time Enables FITRIM Support With Linux 6.11

([Linux Storage] 6 Hours Ago XFS Real-Time + FITRIM)


The XFS file-system updates have been merged for the in-development Linux 6.11 kernel.

While XFS itself has supported TRIM/DISCARD for the past decade, only now with the Linux 6.11 kernel is the FITRIM ioctl for batched discard being wired up for XFS' real-time device support. When making use of XFS real-time sub-volume support "XFS_RT", FITRIM for discard is now correctly wired up with the Linux 6.11 kernel. Darrick Wong explained batch on the patch series implementing it:

"One thing that's been missing for a long time is the ability to tell underlying storage that it can unmap the unused space on the realtime device. This short series exposes this functionality through FITRIM. Callers that want ranged FITRIM should be aware that the realtime space exists in the offset range after the data device. However, it is anticipated that most callers pass in offset=0 len=-1ULL and will not notice or care."

The XFS changes in Linux 6.11 also include adding byte-based grant head log reservation tracking, various code clean-ups, and other fixes. More details for those interested via the [1]XFS merge .



[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf3aa9de7ba57c2c7b5ea70c1ad3a6670cd6fcb0



phoronix

Each team building another component has been using the most recent tested
version of the integrated system as a test bed for debugging its piece. Their
work will be set back by having that test bed change under them. Of course it
must. But the changes need to be quantized. Then each user has periods of
productive stability, interrupted by bursts of test-bed change. This seems
to be much less disruptive than a constant rippling and trembling.
-- Frederick Brooks Jr., "The Mythical Man Month"