[SCSI] iscsi_tcp: enable sg chaining
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 13 Dec 2007 18:43:39 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:48 +0000 (18:28 -0600)
commit66bbe0ce11c7ebe20cd1d4b5d271b2e124e223c5
treedb86d9d61e12ba37298ebaa092a81076aff643b0
parent4cd49ea1330c946db00a28819b766062716aa857
[SCSI] iscsi_tcp: enable sg chaining

The previous patches converted iscsi_tcp to support sg chaining.
This patch sets the proper flags and sets sg_table size to
4096. This allows fs io to be capped at max_sectors, but passthrough
IO to be limited by some other part of the kernel.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/iscsi_tcp.c
drivers/scsi/iscsi_tcp.h