RE: [PATCH] - mpt fusion - mptspi - host reset, kick offdomainvalidation again.

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

 



On Wednesday, April 19, 2006 4:45 PM, James Bottomley wrote: 
> 
> I haven't followed all the paths, but I'm fairly certain
> mptspi_ioc_reset can be invoked from interrupt context, can't it?  In
> which case it has to use spi_schedule_dv() to get the necessary user
> context to perform the DV.
> 

Yes, it appears that all calling functions of MptResetHandlers[], pass
the sleepFlag.  Therefore its a possibility that at some time it could
be 
called at interrupt time, but mostly like not.   Thanks for pointing out
that.

We need to quiese io before and after calling spi_schedule_dv(),
therefore
I prefer if we spawn a work thread from mptspi, then call
mptspi_dv_device.

Attached updated patch.

Signed-off-by: Eric Moore <Eric.Moore@xxxxxxxx>





Attachment: spi_dv_fix.patch
Description: spi_dv_fix.patch


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux