]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/qla2xxx/qla_def.h
[SCSI] qla2xxx: Ensure there's enough request-queue space for passthru IOCBs.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 18 Nov 2011 17:03:20 +0000 (09:03 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:55:11 +0000 (10:55 +0400)
commit5780790ee6836ad64648c0905fcf15e073aad19b
tree4ad962c4006eaf84a264f485d0c1d6c6b7837551
parenta00f6296aaf92ebe89c72eb98c440410992a33c4
[SCSI] qla2xxx: Ensure there's enough request-queue space for passthru IOCBs.

The driver should ensure there's a sufficient number of IOCBs
to satisfy the number of scatter-gather entries specified in the
command.  Add a 'count' to the control structure, srb_ctx, to use
in qla2x00_alloc_iocbs().

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_iocb.c