[Stgt-devel] [PATCH] iscsi fix xmit param

FUJITA Tomonori tomof
Mon Sep 10 19:31:48 CEST 2007


On Tue, 4 Sep 2007 16:03:06 -0400
Pete Wyckoff <pw at osc.edu> wrote:

> Repair one corner case in MaxRecvDataSegmentLength processing.  Default
> target has always kept data segments at 8k, even if the initiator asks
> for more.  Some target administrators may increase this by, e.g.:
> 
>     tgtadm --lld iscsi --mode target --op update --tid 1 \
> 	   --name MaxXmitDataSegmentLength --value 262144
> 
> so that target will generate up to min(initiator-specified RDSL, 256k).
> But if such a change is made, and the initiator does not specify RDSL,
> which is odd but specification compliant, the target will incorrectly
> use 256k instead of 8k.
> 
> Signed-off-by: Pete Wyckoff <pw at osc.edu>
> ---
>  usr/iscsi/iscsid.c |   10 +++++++---
>  usr/iscsi/iscsid.h |    1 +
>  usr/iscsi/target.c |    2 +-
>  3 files changed, 9 insertions(+), 4 deletions(-)

What?

As I explained before, I can't understand your description.



More information about the stgt mailing list