Am Montag, den 18.07.2005, 17:11 -0400 schrieb Ming Zhang:
> Hi,
>
> in do_send_data_rsp(), there is a
> rsp->flags = ISCSI_FLG_FINAL | ISCSI_FLG_STATUS;
>
> but
> [mingz@amd64 iscsitarget-0.4.11]$ grep -rn ISCSI_FLG_STATUS *
> kernel/iscsi_hdr.h:242:#define ISCSI_FLG_STATUS 0x01
> kernel/iscsi.c:271: rsp->flags = ISCSI_FLG_FINAL |
> ISCSI_FLG_STATUS;
>
> i guess we shall get it removed?
No! The status flag is set in the last Data-In PDU of a sequence (hence
the F-bit is set, too) and indicates that the data contains SCSI status
information and that the residual count flags and field of the PDU are
to be evaluated - see RFC3720, 10.7.
Arne
-------------------------------------------------------
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
|