mbox series

[0/4] Add support for application leases to NFSv4

Message ID 20210520163902.215745-1-trondmy@kernel.org (mailing list archive)
Headers show
Series Add support for application leases to NFSv4 | expand

Message

Trond Myklebust May 20, 2021, 4:38 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

If the client holds a delegation, it should be able to offer all the
guarantees that are needed to support application leases and
delegations. The main use case here is when re-exporting NFSv4.

Trond Myklebust (4):
  NFSv4: Fix delegation return in cases where we have to retry
  NFSv4: Add lease breakpoints in case of a delegation recall or return
  NFSv4: Add support for application leases underpinned by a delegation
  NFS: nfs_find_open_context() may only select open files

 fs/nfs/delegation.c    | 94 ++++++++++++++++++++++++++++++++----------
 fs/nfs/delegation.h    |  1 +
 fs/nfs/inode.c         |  4 ++
 fs/nfs/nfs4_fs.h       |  4 +-
 fs/nfs/nfs4file.c      |  8 +++-
 fs/nfs/nfs4proc.c      | 37 +++++++++++++++++
 include/linux/nfs_fs.h |  1 +
 7 files changed, 126 insertions(+), 23 deletions(-)