]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] mpt fusion: clear list of outstanding commands on host reset
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 15 Dec 2008 20:13:27 +0000 (14:13 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 16 Dec 2008 19:38:52 +0000 (13:38 -0600)
commita6da74cb077e88a604e5b2a6663b44c221f0ae75
tree77f566c212282f8925dae4b1a960dc241087e2fb
parent02bd3499a3be984f1e88821c3ed252c8c49c498e
[SCSI] mpt fusion: clear list of outstanding commands on host reset

A bug in the fusion driver was exposed by the switch to block timeout.
Basically, drivers are supposed to terminate commands once error
handling begins on them.  The fusion apparently wasn't doing this.
Under the old timeout regime, completions on terminated commands would
by and large get ignored because of the way command timeouts used to
work. The new block timers are very intolerant to this, though,
becuase the request gets cleaned and freed.

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=12195
Reported-by: Alex Shi <alex.shi@intel.com>
Tested-by: Ming Lin <ming.m.lin@intel.com>
Cc: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/message/fusion/mptscsih.c