]> git.baikalelectronics.ru Git - kernel.git/commit
lockd: add a /proc/fs/lockd/nlm_end_grace file
authorJeff Layton <jlayton@primarydata.com>
Fri, 12 Sep 2014 20:40:20 +0000 (16:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 17 Sep 2014 20:33:13 +0000 (16:33 -0400)
commit2f16d8c97b073fad09b1fe111c2e247f13e7829a
tree055e7cf7fb69bc10f0b0238a87c05758ed125d61
parent2b195dc2ba80a0b2fbb20c6941b8845daff52867
lockd: add a /proc/fs/lockd/nlm_end_grace file

Add a new procfile that will allow a (privileged) userland process to
end the NLM grace period early. The basic idea here will be to have
sm-notify write to this file, if it sent out no NOTIFY requests when
it runs. In that situation, we can generally expect that there will be
no reclaim requests so the grace period can be lifted early.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
fs/lockd/Makefile
fs/lockd/procfs.c [new file with mode: 0644]
fs/lockd/procfs.h [new file with mode: 0644]
fs/lockd/svc.c