]> git.baikalelectronics.ru Git - kernel.git/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)
commite96f08154c3fa36e23f4062f7c7d71335fc6e2a7
tree4eabbd7adb9130392beb306cc9f1633258749851
parent7cd55e5f597cda3ac541d0adbeb6535c852fc7b0
[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