logo       

Re: file data corruption?: msg#00224

Subject: Re: file data corruption?
thank you ming for forwarding mails.

Ming Zhang:
> Note that the iscsi pdu in #12 is not aligned to the start of the tcp
> segment since it contains the tail of the previous iscsi PDU starting
> in packet #2

i have not checked if it is true, but i am afraid that splitting a
single pdu into multiple packets is iet bug. and i guess the root cause
is around setting/unsetting TCP_CORK.
should it be such like this to ensure sending a pdu?

- set CORK.
- transmit a pdu.
- set NDELAY.
- unset CORK.
- transmit data.

currently, NDELAY is not set and unsetting CORK is done after
transmitting data.


Junjiro Okajima


-------------------------------------------------------
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


<Prev in Thread] Current Thread [Next in Thread>