Thread (5 messages) 5 messages, 3 authors, 2011-09-12

Re: [Bug 25832] kernel crashes when a mounted ext3/4 file system is physically removed

From: Alan Stern <stern@rowland.harvard.edu>
Date: 2011-09-09 22:10:28

Possibly related (same subject, not in this thread)

On Fri, 9 Sep 2011, Ted Ts'o wrote:
Rocko, Alan, could you try this patch and see what happens.  It may be
that we'll crash somewhere else; the problem is that Linux that the
low-level generic hd routines doesn't have a formal way of informing
the VFS and layers below that the disk has disappeared.  It just yanks
it out from under the file system, and we've been manually patching
around kernel crashes....
I confirm that this patch fixes the issue on with my test script.  The 
unmounts occurred with no apparent problems.

However you probably should make the same change to the ext3 driver, 
because it has exactly the same issue and some people may still be 
using it.

Alan Stern
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help