]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Try to return the delegation immediately when marked for return on close
authorTrond Myklebust <trondmy@gmail.com>
Mon, 27 Jan 2020 14:58:17 +0000 (09:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commit185758045e93c5d8ecf0e6cf1079348b0a2db447
treeb396f0c64ae98720ed8c7afb8edcfa57e71569ad
parent1dc19201f54730a9aeff4db76ba53517c104ee39
NFSv4: Try to return the delegation immediately when marked for return on close

Add a routine to return the delegation immediately upon close of the
file if it was marked for return-on-close.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4state.c