On 2005.07.19 16:34:04 +0000, Wang, Zhenyu wrote:
>
> sorry I've not follow up the whole thread, but it breaks my data digest patch.
> Which I have to fix it by this one,
>
> --- kernel/iscsi_tcp.c.1 2005-07-19 11:43:53.000000000 +0800
> +++ kernel/iscsi_tcp.c 2005-07-19 15:38:37.000000000 +0800
> @@ -802,6 +805,11 @@ iscsi_ctask_copy(struct iscsi_conn *conn
> return -EAGAIN;
> }
>
> + /* XXX: update ctask's data offset, otherwise we get
> + * negtive offset on received sg*/
> + if (ctask->data_offset)
> + ctask->data_offset += buf_size;
> +
> /* done with this buffer or with both - PDU and buffer */
> conn->data_copied = 0;
> return 0;
>
> Not sure about if this is right..
>
> -zhen
misunderstood the meanings... this's wrong, sorry.
I'll send my updated data digest patch later, after resolving the unalign issue.
thanks
-zhen
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
|