]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ensure we time out if a delegreturn does not complete
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 20 Dec 2019 15:43:37 +0000 (10:43 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:28 +0000 (08:34 -0400)
commit0490e2f5ad4e1459ba0e707691bb8d1ae6c210aa
treedd7944fcbacf2fa57c5f40eb89608cbeb4916dca
parent9c09587171dd885cf2ef949975da3e695d28a2fd
NFS: Ensure we time out if a delegreturn does not complete

We can't allow delegreturn to hold up nfs4_evict_inode() forever,
since that can cause the memory shrinkers to block. This patch
therefore ensures that we eventually time out, and complete the
reclaim of the inode.

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