Re: rationale to send PDUs in increasing CmdSn on single connection

"Eddy Quicksall" <[email protected]> Wed, 26 Sep 2007 13:27:40 -0400
Newsgroups gmane.ietf.ips
Message-ID <[email protected]>
With my target, if I receive CmdSN's out of order I will re-order them 
before they proceed to the SCSI layer. Since this is necessary for 
multi-connections then it just falls out for single connections.

Also, don't forget that if the Queue Algorithm Modifier is 1 (which it 
usually is) then simple commands can execute in any order regardless of the 
CmdSN (i.e. once it reaches the SCSI layer). So just give the increasing 
CmdSN and the target will, on a single connection, immediately forward the 
command to the SCSI layer and then the optimizations you are thinking of 
will most likely take place.

Eddy

----- Original Message ----- 
From: "Parav Pandit" <[email protected]>
To: "Paul Koning" <[email protected]>
Cc: <[email protected]>; <[email protected]>; 
<[email protected]>
Sent: Wednesday, September 05, 2007 9:00 AM
Subject: RE: [Ips] rationale to send PDUs in increasing CmdSn on single 
connection


>
> --- Paul Koning <[email protected]> wrote:
>
>> >>>>> "Parav" == Parav Pandit
>> <[email protected]> writes:
>>
>>  Parav> If I take pragmatic approach, Any idea,
>> currently how current
>>  Parav> single connection target implementation is?
>>
>> I suspect most of them are single connection.
>>
>
>>  Parav> I mean, if current targets are smart enough
>> (accept out of
>>  Parav> order PDUs on single connection- liberal on
>> point 3.2.2.1),
>>  Parav> then initiators can use their DMA
>> optimization.  What do you
>>  Parav> say?
>>
>> Don't.
>>
>> You'd be creating an initiator that violates the
>> protocol spec.  You'd
>> have no reason to expect that to work at all.  Many
>> targets will check
>> this and call it a protocol violation (you may end
>> up with the
>> connection terminated).  Some may not notice but may
>> end up doing the
>> wrong thing.
>>
>>       paul
>
> [Parav] Thanks Paul. I certainly don't want to violate
> the protocol. I was wondering how current qualified,
> proven iscsi targets are behaving for this scenario.
> And you confirmed the same, so will surely adhere to
> the protocol.
>
> Thanks,
> Parav
>
>
>
>
> ____________________________________________________________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
> news, photos & more.
> http://mobile.yahoo.com/go?refer=1GNXIC
>
>
> _______________________________________________
> Ips mailing list
> [email protected]
> https://www1.ietf.org/mailman/listinfo/ips
> 



_______________________________________________
Ips mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/ips