]> err.no Git - linux-2.6/commit
[SCSI] fusion - serialize target resets in mptsas.c
authorEric Moore <eric.moore@lsi.com>
Mon, 29 Jan 2007 16:46:21 +0000 (09:46 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 3 Feb 2007 03:02:30 +0000 (21:02 -0600)
commitdf9e062ad994c4db683377b108c0dbed4690e4b0
tree6953073b5fc45bc13b27847f0903f27dfe57f9bb
parentb506ade9f3c309ac2ce3ffc4039f731097506038
[SCSI] fusion - serialize target resets in mptsas.c

Fusion firmware requires target reset following hotplug removal event,
with purpose to flush target outstanding request in fw. Current implementation
does the target resets from delayed work tasks, that in heavy load
conditions, take too long to be invoked, resulting in command time outs
This patch will issue target reset immediately from ISR context, and will
queue remaining target resets to be issued after the previous one completes.
The delayed work tasks are spawned during the target reset completion.

Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptsas.c