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

Benjamin Coddington
2025-01-13T13:39:35Z

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.

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

Ben