• J. Bruce Fields's avatar
    Revert "nfsd4: return default lease period" · 3bf6b57e
    J. Bruce Fields authored
    This reverts commit d6ebf508.
    
    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: default avatarDonald Buczek <buczek@molgen.mpg.de>
    Fixes: d6ebf508 "nfsd4: return default lease period"
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    3bf6b57e
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
acl.h Loading commit data...
auth.c Loading commit data...
auth.h Loading commit data...
blocklayout.c Loading commit data...
blocklayoutxdr.c Loading commit data...
blocklayoutxdr.h Loading commit data...
cache.h Loading commit data...
current_stateid.h Loading commit data...
export.c Loading commit data...
export.h Loading commit data...
fault_inject.c Loading commit data...
flexfilelayout.c Loading commit data...
flexfilelayoutxdr.c Loading commit data...
flexfilelayoutxdr.h Loading commit data...
idmap.h Loading commit data...
lockd.c Loading commit data...
netns.h Loading commit data...
nfs2acl.c Loading commit data...
nfs3acl.c Loading commit data...
nfs3proc.c Loading commit data...
nfs3xdr.c Loading commit data...
nfs4acl.c Loading commit data...
nfs4callback.c Loading commit data...
nfs4idmap.c Loading commit data...
nfs4layouts.c Loading commit data...
nfs4proc.c Loading commit data...
nfs4recover.c Loading commit data...
nfs4state.c Loading commit data...
nfs4xdr.c Loading commit data...
nfscache.c Loading commit data...
nfsctl.c Loading commit data...
nfsd.h Loading commit data...
nfsfh.c Loading commit data...
nfsfh.h Loading commit data...
nfsproc.c Loading commit data...
nfssvc.c Loading commit data...
nfsxdr.c Loading commit data...
pnfs.h Loading commit data...
state.h Loading commit data...
stats.c Loading commit data...
stats.h Loading commit data...
trace.c Loading commit data...
trace.h Loading commit data...
vfs.c Loading commit data...
vfs.h Loading commit data...
xdr.h Loading commit data...
xdr3.h Loading commit data...
xdr4.h Loading commit data...
xdr4cb.h Loading commit data...