* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
@ 2025-12-06 13:36 ` bugzilla-daemon
2025-12-06 16:25 ` bugzilla-daemon
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-06 13:36 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
Deweloper (deweloper@wp.pl) changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |6.17.10 SMP
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
2025-12-06 13:36 ` [Bug 220842] " bugzilla-daemon
@ 2025-12-06 16:25 ` bugzilla-daemon
2025-12-06 22:01 ` bugzilla-daemon
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-06 16:25 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
--- Comment #1 from Deweloper (deweloper@wp.pl) ---
Created attachment 309008
--> https://bugzilla.kernel.org/attachment.cgi?id=309008&action=edit
Messages from before 1st call trace
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
2025-12-06 13:36 ` [Bug 220842] " bugzilla-daemon
2025-12-06 16:25 ` bugzilla-daemon
@ 2025-12-06 22:01 ` bugzilla-daemon
2025-12-07 11:13 ` bugzilla-daemon
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-06 22:01 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
Theodore Tso (tytso@mit.edu) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@mit.edu
--- Comment #2 from Theodore Tso (tytso@mit.edu) ---
If the USB block device disappears out from under the file system, there's not
much ext4 can do, in terms of "coping". We can ratelimit some the debugging
messages printed by ext4_destroy_inode(), but no magic that will allow us to
recover from a failed storage device.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
` (2 preceding siblings ...)
2025-12-06 22:01 ` bugzilla-daemon
@ 2025-12-07 11:13 ` bugzilla-daemon
2025-12-07 13:04 ` bugzilla-daemon
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-07 11:13 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
--- Comment #3 from Deweloper (deweloper@wp.pl) ---
This message and tons of call traces overflowing dmesg buffer make me think
there is some software bug in ext4 fs driver:
<2>[ 5451.308209] EXT4-fs (sdb1): This should not happen!! Data will be lost
What should not happen?
Some invalid internal state?
Or an external event out of control of the software, like disappearing block
device, what is normal/expected?
In other words, is all of this noise just a way to say that a mounted device is
lost?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
` (3 preceding siblings ...)
2025-12-07 11:13 ` bugzilla-daemon
@ 2025-12-07 13:04 ` bugzilla-daemon
2025-12-07 13:07 ` bugzilla-daemon
2025-12-07 14:54 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-07 13:04 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
--- Comment #4 from Theodore Tso (tytso@mit.edu) ---
Linux doesn't have a way for the block layer to let the system know that
something terrible has happened to a storage device. So whether the cause is
an explosion in the data center, or hard drive head crashing into the spinning
magnetic platter at 10,000 RPM, or the user just simply carelessly pulling out
a USB drive, all any file system will see is a whole set of I/O errors. It's
not always this noisy, but in this particular case, you got unlock and it
resulted in a whole series of messages to the log.
We can try to reduce the noise, but in general, if there are problems with the
underlying storage device --- fix that first. It should be self-evident that
if there is a problem with the underlying device, (a) it shouldn't happen, and
(b) data will be lost.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
` (4 preceding siblings ...)
2025-12-07 13:04 ` bugzilla-daemon
@ 2025-12-07 13:07 ` bugzilla-daemon
2025-12-07 14:54 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-07 13:07 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
Theodore Tso (tytso@mit.edu) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bug 220842] dmesg flooded with ext4 backtraces when underlying USB device chokes
2025-12-05 22:14 [Bug 220842] New: dmesg flooded with ext4 backtraces when underlying USB device chokes bugzilla-daemon
` (5 preceding siblings ...)
2025-12-07 13:07 ` bugzilla-daemon
@ 2025-12-07 14:54 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2025-12-07 14:54 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=220842
--- Comment #5 from Artem S. Tashkinov (aros@gmx.com) ---
Ted, maybe it's actually worth implementing this feature in the block layer? To
notify filesystems that the device has gone for good?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread