> On 3/15/18 7:57 PM, Frank Filz wrote:
> > NFS v4.1 has a max request size option for the session, I’m wondering if
> there’s a way to get the size of a given request easily.
> >
> Depends on how that's defined.  Bytes following header?  And what you need to
> do with it.
> 
> It might be simplest to add a data length field to the struct svc_req, and 
> set it
> during decode.

I just need to compare against the max request length set for a 4.1 session. I 
don't think it needs to be exact. I'm not sure if it's total request length or 
just the NFS portion.

Frank


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to