]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] iscsi_tcp: fix setting of r2t
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 13 Dec 2007 18:43:42 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:52 +0000 (18:28 -0600)
commit48f51dbef7aa4ac1e8f57421b0cab2e1f864db44
tree864d0c841d417b8bb58bb88601416feb800c620b
parent2b447d4e0c7477869bf2d05c92a822bc1b87c55d
[SCSI] iscsi_tcp: fix setting of r2t

If we negotiate for X r2ts we have to use only X r2ts. We cannot
round up (we could send less though). It is ok to fail if it
is not something the driver can handle, so this patch just does
that.

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