OSDN Git Service

[SCSI] zfcp: Adapt change_queue_depth for queue full tracking
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 16 Oct 2009 00:47:11 +0000 (17:47 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:45 +0000 (12:00 -0600)
commit42e62a74377bcbb526565a31aa18da8f712b93ee
tree61692fdff92370cb58fbe3fe7a82162ee58de831
parent229b8d72f3eccf97e8a9e22436e8fc303b3483cd
[SCSI] zfcp: Adapt change_queue_depth for queue full tracking

Adapt the change_queue_depth callback in zfcp for the new reason
parameter. Simply pass each call back to the SCSI midlayer, there are
no resource adjustments necessary for zfcp.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Removes check for (depth <= default_depth) in case of
SCSI_QDEPTH_RAMP_UP call back, not needed after added
max_queue_depth per sdev.

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