Subject: Re: [nfsv4] comptag4 length limit

From: Thomas Haynes <[email-masked]>
Date: Thu, 1 Sep 2011 19:53:21 -0700

On Aug 31, 2011, at 10:24 PM, Saul Tamari wrote:

> Hi,
> 
> Browsing through RFC3530 I can't seem to find a defined limit to the COMPOUND comptag4 field length.
> What is the maximal tag length that an NFSv4 server should accept?

It is basically an opaque<>, which means no upper limit.

> If the tag length is too long should the server return an error to the client or just ignore the COMPOUND tag field?

You don't have to process it, you can just leave it in your request buffer. And then you have the choice of
ignoring it or copying it directly back into your reply buffer.

It is a courtesy to send it back.