Print

Print


Hi Andy,

Thanks for the comments, although I think you misunderstood the focus of this issue.

I'm referring to the PROTOCOL DOCUMENTATION, not about any client implementation or server implementation (i.e., this is NOT about code).

In v2.9.9 (linked to above) the PROTOCOL DOCUMENTATION does not describe what `fhandle` means, when describing the `kXR_stat` request.  The field appears in the request structure, but is not described in the `Where:` section.

The same problem exists in the [v3.1.0](http://xrootd.org/doc/dev45/XRdv310.htm#_Toc464248850) and [v4.0.0](http://xrootd.org/doc/dev49/XRdv400.htm#_Toc517297887) of the PROTOCOL DOCUMENTATION: none of these versions describe what `fhandle` means for the `kXR_stat` request.

From reading the xrootd source code, I believe `fhandle` is an opened file handle (as returned by kXR_open).  Also, if the client makes an kXR_stat request and specifies the `plen` value of zero then the server should use the `fhandle` value; otherwise, the path information (`plen` / `path`) is used.

It would be helpful if these details where checked, and the PROTOCOL DOCUMENTATION is updated to record this information, if they are correct.

Cheers,

Paul.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/839#issuecomment-428683173

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1