Re: [PATCH 04/21] advansys: Fix simultaneous calls to ->queuecommand

2007-10-09 Thread Matthew Wilcox
On Mon, Oct 08, 2007 at 12:07:47PM +0200, Boaz Harrosh wrote: > I see that these patches are before the conversion to scsi data accessors > and !use_sg cleanup that was posted by TOMO: > http://www.spinics.net/lists/linux-scsi/msg19055.html > > Could you please also post that patch rebased to lat

Re: [PATCH 04/21] advansys: Fix simultaneous calls to ->queuecommand

2007-10-08 Thread Boaz Harrosh
On Wed, Oct 03 2007 at 3:55 +0200, Matthew Wilcox <[EMAIL PROTECTED]> wrote: > The narrow board used two global structures to set up a command; > unfortunately they weren't locked, so with two boards in the machine, > one call to queuecommand could corrupt the data being used by the other > call to

[PATCH 04/21] advansys: Fix simultaneous calls to ->queuecommand

2007-10-02 Thread Matthew Wilcox
The narrow board used two global structures to set up a command; unfortunately they weren't locked, so with two boards in the machine, one call to queuecommand could corrupt the data being used by the other call to queuecommand. Fix this by allocating asc_scsi_q on the stack (64 bytes) and using k