[SCSI] bnx2i: Added the setting of target can_queue via target_alloc
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 25 Apr 2012 22:03:45 +0000 (15:03 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:03:18 +0000 (09:03 +0100)
commit6f9c04ff778e35aaad11266b55ef93f72224586e
treefb3b99ee9bd93aab33cfb1b0d469906df0921bad
parent99c72ebceb4dda445b4b74c6f46035feec95a2b3
[SCSI] bnx2i: Added the setting of target can_queue via target_alloc

This will set the target can_queue limit to the number of preallocated
session tasks set during creation.

"Could not send nopout" messages were observed without this when the
iSCSI connection experiences dropped frames under heavy I/O stress.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2i/bnx2i_iscsi.c