[Note: this mail is primarily send for documentation purposes and/or for regzbot, my Linux kernel regression tracking bot. That's why I removed most or all folks from the list of recipients, but left any that looked like a mailing lists. These mails usually contain '#forregzbot' in the subject, to make them easy to spot and filter out.] [TLDR: I'm adding this regression report to the list of tracked regressions; all text from me you find below is based on a few templates paragraphs you might have encountered already already in similar form.] Hi, this is your Linux kernel regression tracker. On 28.09.22 09:30, Thilo Fromm wrote: > Hello, > >> So this seems like a real issue. Essentially, the problem is that >> ext4_bmap() acquires inode->i_rwsem while its caller >> jbd2_journal_flush() is holding journal->j_checkpoint_mutex. This >> looks like a real deadlock possibility. > > Flatcar Container Linux users have reported a kernel issue which might > be caused by commit 51ae846cff5. The issue is triggered under I/O load > in certain conditions and leads to a complete system hang. I've pasted a > typical kernel log below; please refer to > https://github.com/flatcar/Flatcar/issues/847 for more details. > > The issue can be triggered on Flatcar release 3227.2.2 / kernel version > 5.15.63 (we ship LTS kernels) but not on release 3227.2.1 / kernel > 5.15.58. 51ae846cff5 was introduced to 5.15 in 5.15.61. > >> Thinking about it some more, it does not seem locking i_rwsem in >> ext4_bmap() is really workable and as I've noted in one of my replies >> to this patch [1] it is not a complete solution to the problem anyway. >> So I would be for reverting 51ae846cff5 and thinking more about how we >> can make inline data locking suck less... > > Any thoughts on the revert? After a cursory glance at 51ae846cff5 this > commit merely seems to address a warning... CCing the regression mailing list, as it should be in the loop for all regressions, as explained here: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html Thanks for the report. To be sure below issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression tracking bot (using the commit id from the stable tree where this occurs instead of 51ae846cff5): #regzbot ^introduced 30dfb75e1f86454 #regzbot title ext4: system hangs on Flatcar Container Linux #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply -- ideally with also telling regzbot about it, as explained here: https://linux-regtracking.leemhuis.info/tracked-regression/ Reminder for developers: When fixing the issue, add 'Link:' tags pointing to the report (the mail this one replies to), as explained for in the Linux kernel's documentation; above webpage explains why this is important for tracked regressions. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.