News: 0001549233

  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 Atomic Writes Support Merged For Linux 6.16

([Linux Storage] 4 Hours Ago XFS Atomic Writes)


Building off the atomic write preparations that landed in prior Linux kernel versions, merged for the Linux 6.16 cycle is [1]atomic write support for the XFS file-system.

[2]Merged yesterday to Linux Git was the XFS support for atomic writes. Oracle engineer John Garry who worked on the XFS atomic write support explained in the earlier patch series for this feature:

"Currently atomic write support for xfs is limited to writing a single block as we have no way to guarantee alignment and that the write covers a single extent.

This series introduces a method to issue atomic writes via a software-based method.

The software-based method is used as a fallback for when attempting to issue an atomic write over misaligned or multiple extents.

For xfs, this support is based on reflink CoW support.

The basic idea of this CoW method is to alloc a range in the CoW fork, write the data, and atomically update the mapping.

Initial mysql performance testing has shown this method to perform ok. However, there we are only using 16K atomic writes (and 4K block size), so typically - and thankfully - this software fallback method won't be used often."

The XFS file-system updates for Linux 6.16 also remove the experimental warnings on the pNFS, scrub and parent pointers features.

More details on these XFS feature updates for Linux 6.16 via [3]this pull .



[1] https://www.phoronix.com/search/atomic+write

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

[3] https://lore.kernel.org/linux-xfs/174829441871.1051981.8878746658670950573.pr-tracker-bot@kernel.org/T/#t



User29

swastika

cl333r

Scotty: Captain, we din' can reference it!
Kirk: Analysis, Mr. Spock?
Spock: Captain, it doesn't appear in the symbol table.
Kirk: Then it's of external origin?
Spock: Affirmative.
Kirk: Mr. Sulu, go to pass two.
Sulu: Aye aye, sir, going to pass two.