[SCSI] mpt2sas: Limit the max_depth to 32 for SATA devices which are not part of...
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 23 Sep 2009 12:00:22 +0000 (17:30 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:13 +0000 (13:03 -0400)
commite0077d607f716f68d15ab6fbf3d9f4c41434142d
treeb121fea59b4b94836f14b52065b098b1312b36a1
parenta8ebd76c49fa45d93a736ae0b0f192b554cc8c3f
[SCSI] mpt2sas: Limit the max_depth to 32 for SATA devices which are not part of volume

Added sanity check in _scsih_change_queue_depth to limit the max_depth to 32
for SATA devices. This is only for physical devices not part of a volume.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: Eric Moore <Eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c