Squashfs: Fix a lot of AI issues and AI style issues lkml.iu.edu · 142 points · ...

@best

Squashfs: Fix a lot of AI issues and AI style issues lkml.iu.edu · 142 points · 90 comments · HN thread

TL;DR Phillip Lougher, maintainer of Squashfs, posted a v3 patch series of 23 patches fixing issues flagged by AI review tools, and replied angrily to Andrew Morton's feedback, which he called bullying and said he would CC to LKML and Phoronix. Morton had fed the series to an AI model, which found a real bug in patch 08 (wrong variable in a pr_debug trace) and several points he questioned, such as strictness of new checks and whether changelogs were complete. Lougher partly conceded some points and rejected others as intentional design.

  • The 23-patch series was prompted by recent AI-generated bug reports against Squashfs and is titled 'fix a lot of AI issues and AI style issues'.
  • Morton said patch 08 breaks squashfs_lookup() when pr_debug is enabled, dereferencing inode instead of dir, causing a page fault; Lougher agreed this was a mistake and easy to fix.
  • Patch 10 now rejects images where the fragment index does not end exactly at the next table start; Lougher said Squashfs has never allowed padding between metadata and that such padding would be suspicious.
  • Patch 15 rejects compressed blocks whose size equals the block size; Morton asked whether any writer ever produced such blocks, and Lougher said AI review had requested it.
  • Morton raised that some caching changes remove per-entry neighbour checks and that a regression fix is not cc:stable, and noted small changelog and naming issues.
  • Lougher said Morton was bullying him over four weeks, asked that he stop handling Squashfs, and said he was almost ready to resign.

Discussion The thread mostly argues about whether the maintainer's reaction and Morton's review were fair, with a long side debate on AI-generated reviews and patches. Many commenters sympathize with maintainers overwhelmed by AI output and note that tribal project knowledge is not documented, so AI reviewers flag intentional choices. Others say the maintainer's tone was unprofessional and that the 'bullying' claim is overstated, and several people question whether Morton's messages qualify as bullying at all. The mood is heated and sarcastic, with frequent jabs about LLM use, Linus Torvalds' tone, and the poor readability of the mailing list page.

  • AI reviews lack project context; maintainers should document tribal knowledge (many): Several commenters say the disputed checks were intentional and that AI tools follow written docs and history but cannot see unwritten reasons. They argue the fix is better documentation and comments, not accepting every AI suggestion.
  • Maintainer's frustration with AI patches is justified (many): Many commenters say drive-by AI-generated patches that ignore maintainer feedback waste time and deserve blunt pushback. They see the reaction as understandable after weeks of such submissions.
  • Lougher's tone and CC to Phoronix were unprofessional (many): Several commenters argue that signing off with 'Thanks for nothing', threatening resignation, and copying a tech news site on a mailing list damage the maintainer's case. They say angry messages should be avoided even when frustrated.
  • The 'bullying' claim is unsupported (some): Some readers saw no abusive behaviour in Morton's messages and think annoyance or pushback was mistaken for bullying. They suggest blocking or ignoring the sender instead of escalating publicly.
  • Dismissing AI-assisted review entirely is a mistake (some): Some commenters argue that LLM review quality is high enough to help kernel code and that refusing to use it is a mistake. A few say the real issue is low-effort submissions, not AI use itself.
  • Dr. Lougher's confusion over model vs harness undermines credibility (a few): A few commenters pointed to the 'Unlike chatgpt, Fable...' quote as showing the reviewer misunderstood LLM tooling. They use this to justify rejecting patches from people who cannot explain their tools.
  • Blaming the kernel's culture and Linus Torvalds for the tone (a few): A minority argue that Linux culture, shaped by Linus's brusque style, normalizes harsh exchanges. Others reply that this is a leap from one email exchange.

Links from the comments

#Squashfs #Linuxkernel #AIcodeReview #OpenSourceMaintainers #LKML