]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] hpsa: hide logical drives with format in progress from linux
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Mon, 23 Sep 2013 18:34:01 +0000 (13:34 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 16 Dec 2013 18:57:53 +0000 (10:57 -0800)
commit0d1806c4be448068bbbe7fc3715d3ae42b231b18
treef86934f1a945997005c148303a4813c1a594cc1c
parente06c8e5c34498d1ea0468401012be8d1c853c585
[SCSI] hpsa: hide logical drives with format in progress from linux

SCSI mid layer doesn't seem to handle logical drives undergoing format
very well.  scsi_add_device on such devices seems to result in hitting
those devices with a TUR at a rate of 3Hz for awhile, transitioning
to hitting them with a READ(10) at a much higher rate indefinitely,
and at boot time, this prevents the system from coming up.  If we
do not expose such devices to the kernel, it isn't bothered by them.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h