Re: [Nfs-ganesha-devel] Byte range lock length and overflow

2018-04-25 Thread Malahal Naineni
This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org.knfsd seems to send EINVAL based on a quick look at the code. Assuming it as end of file (0) may work, but will have to check if all cthon tests pass! On Wed, Apr 25, 2018 at 4:26 AM, Frank Filz wrote:

[Nfs-ganesha-devel] Byte range lock length and overflow

2018-04-24 Thread Frank Filz
This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org.In NFS v4 and NLM, the lock length type is uint64_t. In many of our supported filesystems, lock length is defined as off_t or off64_t which are signed quantities. The Windows NFS v3 client at least h