News: 0001472625

  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)

Bcachefs Making Tiny Steps Toward Full Self-Healing Capabilities

([Linux Storage] 111 Minutes Ago Bcachefs)


Another round of [1]Bcachefs file-system fixes were merged today for the in-development [2]Linux 6.10 kernel.

Bcachefs lead developer Kent Overstreet noted this week's work is a lot of "mostly boring" fixes. There is though a user-reported bug fix after forgetting to correctly set the bucket data type. Perhaps most exciting with this pull request is Overstreet's message that they are beginning to fix simple errors without requiring user intervention. It's an admittedly small step toward full self-healing capabilities for the Bcachefs file-system that are ultimately envisioned.

[3]

Overstreet wrote with today's [4]Bcachefs fixes merge to Linux 6.10:

"Lots of (mostly boring) fixes for syzbot bugs and rare(r) CI bugs.

The LRU_TIME_BITS fix was slightly more involved; we only have 48 bits for the LRU position (we would prefer 64), so wraparound is possible for the cached data LRUs on a filesystem that has done sufficient (petabytes) reads; this is now handled.

One notable user reported bugfix, where we were forgetting to correctly set the bucket data type, which should have been BCH_DATA_need_gc_gens instead of BCH_DATA_free; this was causing us to go emergency read-only on a filesystem that had seen heavy enough use to see bucket gen wraparoud.

We're now starting to fix simple (safe) errors without requiring user intervention - i.e. a small incremental step towards full self healing.

This is currently limited to just certain allocation information counters, and the error is still logged in the superblock; see that patch for more information. ("bcachefs: Fix safe errors by default")"

These fixes are now in Git ahead of tomorrow's Linux 6.10-rc5 release.



[1] https://www.phoronix.com/search/Bcachefs

[2] https://www.phoronix.com/search/Linux+6.10

[3] https://www.phoronix.com/image-viewer.php?id=2024&image=ssd_self_healing_lrg

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



fitzie

An American scientist once visited the offices of the great Nobel prize
winning physicist, Niels Bohr, in Copenhagen. He was amazed to find that
over Bohr's desk was a horseshoe, securely nailed to the wall, with the
open end up in the approved manner (so it would catch the good luck and not
let it spill out). The American said with a nervous laugh,
"Surely you don't believe the horseshoe will bring you good luck,
do you, Professor Bohr? After all, as a scientist --"
Bohr chuckled.
"I believe no such thing, my good friend. Not at all. I am
scarcely likely to believe in such foolish nonsense. However, I am told
that a horseshoe will bring you good luck whether you believe in it or not."