hn.today

Linus Torvalds is angry with ext4 dev

itsfoss.com6 points1 comments
Screenshot of Linus Torvalds is angry with ext4 dev

Linux kernel creator Linus Torvalds criticized ext4 maintainer Theodore Ts’o after receiving a 94-commit pull request for Linux 7.4-rc5. Its merge added 41,204 lines across 68 files, including a large suite of KUnit tests and numerous fixes. Ts’o said the tests would help validate patches generated with AI, which also produced most of the bug fixes. The changes addressed serious risks, including lost data after journal flushes or ext3 inode migration, stale data, memory-safety errors, corrupted-filesystem access problems, and a directory-reading issue on 32-bit systems. Three modest performance improvements were included as well.

Torvalds’s objection was primarily about timing and scale: release candidates are intended for targeted fixes, while large development efforts and test suites belong in the roughly two-week merge window. He argued that labeling code a fix does not make a 41,000-line addition safe late in the cycle, since fixes can introduce regressions regardless of whether humans or AI wrote them. He initially considered rejecting the pull, then merged it and urged Ts’o to keep new development and tests on a separate branch for a later cycle. Ts’o explained that the tests were already separable and offered to resend the pull without them. Torvalds remained dissatisfied but kept the merge, consistent with his broader view that AI-assisted fixes are acceptable when submitted at the right stage.

Read on itsfoss.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.