]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULL
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 16 Oct 2009 00:46:44 +0000 (17:46 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:42 +0000 (12:00 -0600)
commit42a6a91833f1e0f5ee5b5ef98e9f00167b615f46
tree6173edb1fd2e4579d3223c7e3be1d0cc8430457c
parente881a172dac4d9ea3b2a1540041d872963c269bd
[SCSI] scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULL

This has scsi-ml call the change_queue_depth functions when
we get a QUEUE_FULL. It will only change the queue depth if
change_queue_depth is set because the LLD may have to
modify some internal resources, so I thought this would
be the safest route.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
-v2
Limits change_queue_depth to only all luns of target by adding
channel check while iterating for all luns of Scsi_Host. This is
same as currently qla2xxx FC HBA does on QUEUE_FULL event.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_error.c