[ofa-general] RE: [PATCH] drivers/infiniband/ulp/srpt: Fixtargetdata corruption

Sufficool, Stanley ssufficool at rov.sbcounty.gov
Tue Jan 29 16:24:14 PST 2008


> > davem at systemfabricworks.com wrote:
> > >    Change the local buffer allocator to use a spin-lock
> > protected linked
> > >    list instead of an array of atomic_t used/free
> > variables.  The atomic_t
> > >    code was open to a multi-thread race between test and
> > set.  This has
> > >    been observed with the result that the same data buffer
> > was used for
> > >    more than one SCSI operation, either writing the wrong
> > data to the disk
> > >    or sending the wrong data to the initiator.
> > >
> > > Signed-off-by: Robert Pearson <rpearson at systemfabricworks.com>
> > > Signed-off-by: David A. McMillen <davem at systemfabricworks.com>
> > >   
> > Applied. Thanks _______________________________________________

Tested and passed with Windows 2003 SR2 WinOF x64 / Kernel 2.6.23 x64. 

Without using "ib_srpt memelements=0"




More information about the general mailing list