Bug#601335: nfs-kernel-server: does not allow to change the NFSv4 lease time (aka grace period)

2010-10-25 Thread Florian Haas
Package: nfs-kernel-server Version: 1:1.2.2-4 Severity: wishlist The package has no facility to change the NFSv4 lease time (grace period) from its upstream default of 90 seconds. Suggest to add an entry in the defaults file to be able to change this. -- System Information: Debian Release: squeez

[PATCH] Make NFSv4 lease time configurable

2010-10-20 Thread Florian Haas
Add a new parameter, "NFSV4LEASETIME" to the defaults file. In the init script, echo this value into /proc/fs/nfsd/nfsv4leasetime immediately after nfsd is mounted. Rationale: When an NFSv4 client has no chance to give up a lease (for example, when the IP address that it connects through simply g

[PATCH] Make NFSv4 lease time configurable

2010-10-20 Thread Florian Haas
Hello Ben, I normally work on HA and rarely roam in NFS kernel server territory, so forgive the intrusion, but please consider this patch to the nfs-kernel-server init script and defaults file. An extended explanation is in the commit message. Thanks! Cheers, Florian Florian Haas (1): Make