hpsa: do not request device rescan on every ioaccel path error
authorStephen Cameron <stephenmcameron@gmail.com>
Fri, 23 Jan 2015 22:43:14 +0000 (16:43 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:40 +0000 (09:57 -0800)
commit7acf570ce51a5ebee55ef72e77916afdb4a351a7
treebc787b4b0390c5369bc95718165df8b8b8233a17
parentf2405db8b4605732c8f0224c33b9d206e37b68c5
hpsa: do not request device rescan on every ioaccel path error

The original reasoning behind doing this was faulty.  An error
of some sort would be encountered, accelerated i/o would be
disabled for that logical drive, the command would be kicked
back out to the SCSI midlayer for a retry, and since i/o accelerator
mode was disabled, it would get retried down the RAID path.
However, something needs to turn ioaccellerator mode back on,
and this rescan request was what did that.  However, it was racy,
and extremely bad for performance to rescan all devices, so,
don't do that.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h
This page took 0.025444 seconds and 5 git commands to generate.