Re: [PATCH] NFSv4: nfs4_do_fsinfo() should not do implicit lease renewals
From: Chuck Lever
Date: Mon Dec 16 2019 - 13:58:55 EST
> On Dec 16, 2019, at 1:43 PM, Robert Milkowski <rmilkowski@xxxxxxxxx> wrote:
>
>
>
>> From: Trond Myklebust <trondmy@xxxxxxxxxxxxxxx>
> ...
>> NACK. The above argument only applies to legacy minor version 0 setups, and does not apply to NFSv4.1 or newer.
>
> Correct. However many sites still use v4.0.
v4.1 and newer actually do renew the lease with the FSINFO COMPOUND,
since the COMPOUND starts with a SEQUENCE operation.
For v4.0, you can get the equivalent behavior by adding a RENEW to
the end of the FSINFO COMPOUND.
--
Chuck Lever