kernel-fxtec-pro1x/fs/nfsd
J. Bruce Fields 93769fef8d Revert "nfsd4: return default lease period"
commit 3bf6b57ec2ec945e5a6edf5c202a754f1e852ecd upstream.

This reverts commit d6ebf5088f.

I forgot that the kernel's default lease period should never be
decreased!

After a kernel upgrade, the kernel has no way of knowing on its own what
the previous lease time was.  Unless userspace tells it otherwise, it
will assume the previous lease period was the same.

So if we decrease this value in a kernel upgrade, we end up enforcing a
grace period that's too short, and clients will fail to reclaim state in
time.  Symptoms may include EIO and log messages like "NFS:
nfs4_reclaim_open_state: Lock reclaim failed!"

There was no real justification for the lease period decrease anyway.

Reported-by: Donald Buczek <buczek@molgen.mpg.de>
Fixes: d6ebf5088f "nfsd4: return default lease period"
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-20 10:25:47 +01:00
..
acl.h
auth.c
auth.h
blocklayout.c vfs/y2038: inode timestamps conversion to timespec64 2018-06-15 07:31:07 +09:00
blocklayoutxdr.c
blocklayoutxdr.h
cache.h
current_stateid.h
export.c
export.h
fault_inject.c
flexfilelayout.c
flexfilelayoutxdr.c
flexfilelayoutxdr.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h nfsd4: extend reclaim period for reclaiming clients 2018-06-17 10:20:47 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c NFSD: Handle full-length symlinks 2018-08-09 16:11:21 -04:00
nfs3xdr.c
nfs4acl.c
nfs4callback.c nfsd: Remove callback_cred 2018-08-22 18:32:07 -04:00
nfs4idmap.c
nfs4layouts.c nfsd: don't advertise a SCSI layout for an unsupported request_queue 2018-06-19 10:12:31 -04:00
nfs4proc.c nfsd4: zero-length WRITE should succeed 2019-01-13 09:51:08 +01:00
nfs4recover.c
nfs4state.c nfsd: correctly decrement odstate refcount in error path 2018-11-13 11:08:49 -08:00
nfs4xdr.c fs/nfsd: Delete invalid assignment statements in nfsd4_decode_exchange_id 2018-08-09 16:11:21 -04:00
nfscache.c - Error path bug fix for overflow tests (Dan) 2018-06-12 18:28:00 -07:00
nfsctl.c Revert "nfsd4: return default lease period" 2019-02-20 10:25:47 +01:00
nfsd.h nfsd4: support change_attr_type attribute 2018-06-17 10:41:31 -04:00
nfsfh.c nfsd: use true and false for boolean values 2018-08-09 16:11:21 -04:00
nfsfh.h
nfsproc.c NFSD: Handle full-length symlinks 2018-08-09 16:11:21 -04:00
nfssvc.c
nfsxdr.c
pnfs.h
state.h nfsd: Remove callback_cred 2018-08-22 18:32:07 -04:00
stats.c
stats.h
trace.c
trace.h
vfs.c vfs: swap names of {do,vfs}_clone_file_range() 2018-09-24 10:54:01 +02:00
vfs.h
xdr.h
xdr3.h
xdr4.h
xdr4cb.h