]> err.no Git - linux-2.6/commit
[SCSI] iscsi: bidi support at the generic libiscsi level
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 18 Apr 2008 15:11:52 +0000 (10:11 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 18 Apr 2008 16:53:00 +0000 (11:53 -0500)
commitc07d444407de63b2f414a8be9428f88cadba503f
tree4eabbd7adb9130392beb306cc9f1633258749851
parent38d1c069db8c87eb6cb10ca1ede9d9b673531ddd
[SCSI] iscsi: bidi support at the generic libiscsi level

- prepare the additional bidi_read rlength header.
- access the right scsi_in() and/or scsi_out() side of things.
  also for resid.
- Handle BIDI underflow overflow from target

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Reviewed-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c