Re: [resend PATCH] scsi_remove_target: fix softlockup regression on hot remove

2012-09-04 Thread John Drescher
On Wed, Aug 29, 2012 at 10:59 AM, Dan Williams wrote: > On Wed, 2012-08-29 at 06:50 +, Bart Van Assche wrote: >> On 08/29/12 05:12, Dan Williams wrote: >> > John reports: >> > BUG: soft lockup - CPU#2 stuck for 23s! [kworker/u:8:2202] >> > [..] >> > Call Trace: >> > [] scsi_remove_target+

Re: Possible mptsas regression post 3.5.0

2012-08-28 Thread John Drescher
>> [ 174.758218] scsi_remove_target[0]: reap 0:0 state: 2 reap: 1 dev_del: 1 > > Thanks! Does the attached patch fix the issue for you? > That worked! [ 169.402990] netconsole: network logging started [ 200.903700] mptbase: ioc0: LogInfo(0x31110d00): Originator={PL}, Code={Reset}, SubCode(0x0

Re: Possible mptsas regression post 3.5.0

2012-08-28 Thread John Drescher
> I wonder if we are preventing scsi_device_dev_release_usercontext() from > making forward progress? > > ...the attached patch should confirm this or give more info otherwise. > [ 148.960318] console [netcon0] enabled [ 148.960363] netconsole: network logging started [ 170.415487] mptbase: ioc

Re: Possible mptsas regression post 3.5.0

2012-08-27 Thread John Drescher
>> I have bisected it down to the following patch: >> >> Bisecting: 0 revisions left to test after this (roughly 0 steps) >> [10f8d5b86743b33d841a175303e2bf67fd620f42] SCSI: fix hot unplug vs >> async scan race >> >> It appears this patch caused the bad behavior although I have not >> tested that y