aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_pm.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>2013-09-23 14:47:32 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 09:58:12 +0100
commitaf73623f5f10eb3832c87a169b28f7df040a875b (patch)
tree0a7d02f6129de16d39abf6100a291b5b149ffa95 /drivers/scsi/scsi_pm.c
parent[SCSI] scsi_debug: fix sparse warnings related to data integrity field (diff)
downloadlinux-dev-af73623f5f10eb3832c87a169b28f7df040a875b.tar.xz
linux-dev-af73623f5f10eb3832c87a169b28f7df040a875b.zip
[SCSI] sd: Reduce buffer size for vpd request
Somehow older areca firmware versions have issues with scsi_get_vpd_page() and a large buffer, the firmware seems to crash and the scsi error-handler will start endless recovery retries. Limiting the buf-size to 64-bytes fixes this issue with older firmware versions (<1.49 for my controller). Fixes a regression with areca controllers and older firmware versions introduced by commit: 66c28f97120e8a621afd5aa7a31c4b85c547d33d Reported-by: Nix <nix@esperi.org.uk> Tested-by: Nix <nix@esperi.org.uk> Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de> Cc: stable@vger.kernel.org # delay inclusion for 2 months for testing Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi_pm.c')
0 files changed, 0 insertions, 0 deletions