commit | 5780790ee6836ad64648c0905fcf15e073aad19b | [log] [tgz] |
---|---|---|
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | Fri Nov 18 09:03:20 2011 -0800 |
committer | James Bottomley <JBottomley@Parallels.com> | Thu Dec 15 10:55:11 2011 +0400 |
tree | 4ad962c4006eaf84a264f485d0c1d6c6b7837551 | |
parent | a00f6296aaf92ebe89c72eb98c440410992a33c4 [diff] |
[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>