News: 0001542500

  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 Landing Fixes So Its Case Insensitive Support Actually Works

([Linux Storage] 6 Hours Ago Case Folding)


Nearly two years ago [1]patches for casefolding / case insensitive file and folder support on Bcachefs were posted by a Valve/Linux developer. That support was upstreamed into the Bcachefs kernel driver but it turns out that it never properly worked. Patches now set for merging into the Linux 6.15 will fix that case insensitive file/folder opt-in support so that it is now properly supported.

With today's Bcachefs fixes sent in ahead of Linux 6.15-rc4 on the weekend, case insensitive directories are now working.

[2]

Bcachefs lead developer Kent Overstreet added a lengthy note to the pull request explaining the Bcachefs case folding/insensitive mishap:

"There's a story behind the case insensitive directory fixes, and lessons to be learned.

When I was discussing with the developer who did the implementation, I noted that fstests should already have tests.

However, it seems I neglected to tell him to make sure the tests actually run. So, there's a lesson here, and since inadequate testing keeps coming up, let me state it now:

It is _not_ enough to simply rely on the automated tests.

You have to have eyes on what your code is doing. That means that until you've thoroughly Familiarized yourself with the code you're working on and the test suites, you need to look - with your eyes - and confirm that the tests are doing what you think they're doing and your code is doing what you think it's doing.

If you're not 100% sure that your code is doing what you think it's doing, it's your responsibility to dig in and verify - add printks, tracepoints, counters, whatever it takes.

Automated test infrastructure is a backstop because there are times when we are all forgetful and miss things.

You have to run your code locally, and look at what it does. I've provided good tools for this. If you're working on my code, make sure you're using them."

So with [3]this pull request , the Bcachefs case insensitive support should be in order. Plus various other small fixes to the week for this copy-on-write file-system.

Update: [4]Linus Torvalds Expresses His Hatred For Case-Insensitive File-Systems



[1] https://www.phoronix.com/news/Bcachefs-Case-Folding-Patches

[2] https://www.phoronix.com/image-viewer.php?id=2025&image=storage_broke_lrg

[3] https://lore.kernel.org/lkml/l7pfaexlj6hs56znw754bwl2spconvhnmbnqxkju5vqxienp4w@h2eocgvgdlip/

[4] https://www.phoronix.com/news/Linus-Torvalds-Anti-Case-Fold



GnuWorldOrder

dammarin

Kjell

reba

curfew

pokeballs

kobblestown

reba

dralley

Microsoft Employees Go On Strike, Demand Reduced Salaries

REDMOND, WA -- Several hundred programmers walked off their jobs at
Microsoft Headquarters on Friday to protest their shoddy public image. "My
friends all think I'm a servant of Satan because I get my paycheck from
Microsoft," explained Microserf Eric Eshleman. "If I didn't make so much
money, I'd have more of a backbone to shout 'No!' when my supervisor
demands that I include some new virus-delivery feature in Outlook."

The striking programmers demand salary cuts, less benefits, and zero stock
options. Their labor union, the Brotherhood Of Programmers Sick Of Being
Called Evil, hopes to get some face time with Microsoft executives and
touch base on reaching a proactive agreement leveraging the latest
innovatives in PR to produce a synergistic worldwide buzzword-enhanced
advertising campaign that showcases Microsoft associates as enlightened
engineers instead of morally bankrupt bastards bent on world domination.

Earlier today, about 150 strikers formed a picket line near the front
entrance to Bill Gates' mansion. They carried signs saying "Hell no we're
not going to Hell", "I want to be able to sleep at night", "Why does the
public hate us so much?" and "I'm fed up with ethical dilemmas".