[OpenAFS-devel] When is an AFS request-response completed?

Jeffrey Hutzelman jhutz@cmu.edu
Sat, 3 Nov 2001 10:19:16 -0500 (EST)


On Fri, 2 Nov 2001, Andrew J Klosterman wrote:

> (thanks for reminding everyone about channel number being embedded in the
> cid, I just took the 32-bit quantity for granted since I understood that
> it needed to be the same to identify a request-response pair.)
> 
> Hmm.  Based on this, I am seeing what I believe is some strange behavior
> during a client-server interaction.
> 
> I am observing (epoch, cid) pairs issued as AFS operations with various,
> sequential callNumbers without any response packets from the server that
> contain any data, only ACKs.  After the ACKs, the client increments the
> callNumber and issues an additional operation.

Do the RPC's in question have any OUT arguments?  If not, then the server
will have no data to send.

Do the ACK packets you're seeing have the LAST-PACKET bit set?  If so,
that serves as an indication that the call is complete and was successful,
and no more packets will be sent for that call.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA