]> 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)
commite333f32796ef1b5864e8a8e391dd133cd01f05ec
treeef537893ad3d2d8e464ce33ee662184659e8a5bf
parent4d5d7fe03afee95776f6f172d3c513baae480036
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