]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit426b7509809987388c38db62508be8e7626f125d
tree4ad962c4006eaf84a264f485d0c1d6c6b7837551
parent4cd8131560c10fb5e1089188996cc29e32979fdd
[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