diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-09-02 19:02:56 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-09-10 15:23:41 +0200 |
commit | 27c438f53e79b81dc8805a81f6cd74824ba57290 (patch) | |
tree | 58165481c4ed3f51742526143c7e4db3f273338b /fs/nfsd/nfsctl.c | |
parent | nfsd: nfsd_file cache entries should be per net namespace (diff) | |
download | linux-27c438f53e79b81dc8805a81f6cd74824ba57290.tar.xz linux-27c438f53e79b81dc8805a81f6cd74824ba57290.zip |
nfsd: Support the server resetting the boot verifier
Add support to allow the server to reset the boot verifier in order to
force clients to resend I/O after a timeout failure.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Lance Shelton <lance.shelton@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 3cf4f6aa48d6..33cbe2e5d937 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -1477,6 +1477,7 @@ static __net_init int nfsd_init_net(struct net *net) atomic_set(&nn->ntf_refcnt, 0); init_waitqueue_head(&nn->ntf_wq); + seqlock_init(&nn->boot_lock); mnt = vfs_kern_mount(&nfsd_fs_type, SB_KERNMOUNT, "nfsd", NULL); if (IS_ERR(mnt)) { |