Yinghai, Please try attached patch. This must be on top of latest upstream code. When we have introduced fast load, scan of devices are happening from thread context. But currently we have not removed " _scsih_probe_devices(ioc);" call from actual probe and it is getting called from multiple places. As a result, we end-up into this issue. Please try the attached patch and provide your feedback. Based upon your result, we will post this patch to upstream. Thanks, Kashyap > -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- > owner@xxxxxxxxxxxxxxx] On Behalf Of Desai, Kashyap > Sent: Wednesday, December 07, 2011 11:25 PM > To: Yinghai Lu; Nandigama, Nagalakshmi; James Bottomley; Rafael J. > Wysocki > Cc: linux-scsi-owner@xxxxxxxxxxxxxxx; James Bottomley; linux- > scsi@xxxxxxxxxxxxxxx; Linux Kernel Mailing List > Subject: RE: mpt2sas regression: can not add disk... > > Yinghai, > > I am trying to reproduce this issue locally and get back to you with my > findings. > > > Thanks, Kashyap > > > -----Original Message----- > > From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- > > owner@xxxxxxxxxxxxxxx] On Behalf Of Yinghai Lu > > Sent: Wednesday, December 07, 2011 5:45 AM > > To: Nandigama, Nagalakshmi; James Bottomley; Rafael J. Wysocki > > Cc: linux-scsi-owner@xxxxxxxxxxxxxxx; James Bottomley; linux- > > scsi@xxxxxxxxxxxxxxx; Linux Kernel Mailing List > > Subject: Re: mpt2sas regression: can not add disk... > > > > On Mon, Nov 28, 2011 at 12:00 PM, Yinghai Lu <yinghai@xxxxxxxxxx> > wrote: > > > On Sun, Nov 27, 2011 at 10:09 PM, Nandigama, Nagalakshmi > > > <Nagalakshmi.Nandigama@xxxxxxx> wrote: > > >> Yinghai Lu, > > >> > > >> Please set the driver logging level to 0x421F8 (echo 0x421F8 > > > >> /sys/module/mpt2sas/parameters/logging_level) and the scsi logging > > >> level to 0x180000F1 (echo 0x180000F1 > > > >> /proc/sys/dev/scsi/logging_level) and recreate the issue and > provide > > >> the var/log/message > > >> > > > > > > please check two print out... > > > > James, > > > > one week passed, did not hear anything from the original author. > > > > Can you revert offending commit ? > > > > it is 921cd8024b908f8f49f772c8d3a02381b4db2ed2 > > and several related commits after that. > > > > please check attached reverting patch that i used locally. > > > > Thanks > > > > Yinghai > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
fast_load_probe_devices.patch
Description: fast_load_probe_devices.patch