Re: [PATCH v2 3/3] nfsdctl: add necessary bits to configure lockd

Tom Talpey
2025-01-14T15:53:16Z

On 1/13/2025 8:39 AM, Benjamin Coddington wrote:
> On 10 Jan 2025, at 10:40, Tom Talpey wrote:
>
>> I wonder how many sysadmins are actually changing it, and why. It's
>> not truly a correctness thing, more of an availability setting, so
>> the choice of value is pretty soft. As you say, if the clients all
>> reclaim promptly, nobody's the wiser. Do we have any data on how
>> often the setting actually gets used?
>
> Here's an anecdote - when I was a sysadmin (~12 years ago), we were very
> aware of the grace period and tried to optimize it because too long meant
> many of our clients applications would hang for a longer outage, and too
> short meant that all the locks weren't recovered.
>
> We also depended on lock recovery working well because we would often
> update and migrate servers.

Ok good to know - v3 and v4.0 I assume.

> This was before knfsd v4 could end it early, which is.. quite nice.

Yep, v4.1 RECLAIM_COMPLETE, right? You're welcome. :)

Tom.