News: 0001596375

  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)

Linux 6.19 To Allow File-Systems To Increase The Writeback Chunk Size

([Linux Storage] 108 Minutes Ago Larger Writeback Chunk Size)


Linux has maintained a default 4MB minimum writeback chunk size but with the in-development Linux 6.19 kernel it will allow file-systems to override that minimum value. This in turn can help avoid fragmentation and yield a better experience for zoned rotation media and other uses.

Merged yesterday alongside other pull requests submitted by Microsoft engineer Christian Brauner was the feature of allowing file-systems to increase the minimum writeback chunk size. Brauner explained in the [1]merged pull request:

"Allow file systems to increase the minimum writeback chunk size. The relatively low minimal writeback size of 4MiB means that written back inodes on rotational media are switched a lot. Besides introducing additional seeks, this also can lead to extreme file fragmentation on zoned devices when a lot of files are cached relative to the available writeback bandwidth. This adds a superblock field that allows the file system to override the default size, and sets it to the zone size for zoned XFS."

The writeback code for Linux 6.19 also now allows logging of slow writeback when it exceeds a sysctl set hung task timeout threshold. The goal is to help identify tasks waiting for a long time and narrowing down potential issues.

More details on these writeback changes for Linux 6.19 via [2]this pull .



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

[2] https://lore.kernel.org/lkml/20251128-vfs-writeback-v619-24e0f5ebe21f@brauner/



"A child is a person who can't understand why someone would give away a
perfectly good kitten."
-- Doug Larson