[ofa-general] Re: [PATCH] drivers/infiniband/ulp/srpt: Fix target data corruption
Vu Pham
vuhuong at mellanox.com
Fri Jan 25 09:00:21 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
More information about the general
mailing list