From: Mike Christie Date: Wed, 30 May 2007 17:57:14 +0000 (-0500) Subject: [SCSI] iscsi: Some fixes in preparation for bidirectional support - exp_datasn X-Git-Tag: v2.6.23-rc1~1053^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d473cc7f15f64ab8a90c3d7288ef30f46785d8d5;p=pandora-kernel.git [SCSI] iscsi: Some fixes in preparation for bidirectional support - exp_datasn This patch fixes handling of expected datasn/r2tsn as received from target. It is done according to: T10 rfc3720 section 3.2.2.3. Data Sequencing. . unify expected datasn/r2tsn into one counter . calculate than check expected datasn/r2tsn. On error print a message and fail the request. (TODO use iscsi retransmits) . remove the FIXME ;) . avoid zero length memset Signed-off-by: Boaz Harrosh Signed-off-by: Benny Halevy Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed