Google
  Web www.spinics.net

Re: [PATCH] base/class.c: prevent ooops due to insert/remove race (v3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, 29 Nov 2007, Mark Lord wrote:

> Alan Stern wrote:
> > On Thu, 29 Nov 2007, Mark Lord wrote:
> > 
> >>> So again, the problem is in the higher up scsi layer, and that is where
> >>> the problem should already be fixed.
> >> ..
> >>
> >> Ahhh.. so you figure the Oops should also have been fixed
> >> as part of the 2.6.24 SCSI fixes ?  That's what I was missing here.
> > 
> > Yes indeed.  I wish I could point you to the exact patch containing the 
> > fix, but the git software seems to have lost track of it (it's combined
> > in with a large number of other patches with no obvious way to separate 
> > it out).  It's also available in the various mailing list archives, but 
> > I don't have a pointer to it and there's no reasonable way to search 
> > for it.
> > 
> > The patch in question was written by Matthew Wilcox; it added code to 
> > the SCSI async-scanning routines to utilize the scan_mutex.  IMO it 
> > should have been applied to 2.6.23 but it wasn't.

Wait -- I found it:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6b7f123f378743d739377871c0cbfbaf28c7d25a

Try applying that to 2.6.23 (it should merge with minimal problems)
and do your stress testing again.  Note also the date the patch was 
submitted: June 26.

> Ahh.  Well, thanks for the *great* followup, Alan!

You're welcome.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux