NFS: Add a module parameter to set nfs_mountpoint_expiry_timeout
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 2 Apr 2020 16:37:25 +0000 (12:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 2 Apr 2020 22:53:59 +0000 (18:53 -0400)
commitf30a6ea0f3a582cea72b0373612d4b38f383fbd9
tree26f5e34cd7c98e1752af2121ec7c70eb12874bb0
parent75da98586af75eb80664714a67a9895bf0a5517e
NFS: Add a module parameter to set nfs_mountpoint_expiry_timeout

Setting nfs_mountpoint_expiry_timeout() to a negative value stops
mountpoint expiration, while setting it to a positive value restarts
the scheduler.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/namespace.c