]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: return default lease period
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 8 Jun 2018 16:33:17 +0000 (12:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Jun 2018 14:20:47 +0000 (10:20 -0400)
commit8f80c4d9b00411a670e280254dd4e0c02d76142b
treeef537893ad3d2d8e464ce33ee662184659e8a5bf
parent276d3fc1cd960a3d680c3e0963b8f16c695e4869
nfsd4: return default lease period

I don't have a good rationale for the lease period, but 90 seconds seems
long, and as long as we're allowing the server to extend the grace
period up to double the lease period, let's half the default to 45.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c