]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: add a v4_end_grace file to /proc/fs/nfsd
authorJeff Layton <jlayton@primarydata.com>
Fri, 12 Sep 2014 20:40:21 +0000 (16:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 17 Sep 2014 20:33:14 +0000 (16:33 -0400)
commit9072ac34b9243917c097df9f3be3aa23b1174a7e
treede3eb667a4b70e6534e603af7a076f4cce57815d
parent2f16d8c97b073fad09b1fe111c2e247f13e7829a
nfsd: add a v4_end_grace file to /proc/fs/nfsd

Allow a privileged userland process to end the v4 grace period early.
Writing "Y", "y", or "1" to the file will cause the v4 grace period to
be lifted.  The basic idea with this will be to allow the userland
client tracking program to lift the grace period once it knows that no
more clients will be reclaiming state.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfsctl.c
fs/nfsd/state.h