OSDN Git Service

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)
commitb7b7dac6843e483b6fe8e29cef99e3dbb7594a53
treeb396f0c64ae98720ed8c7afb8edcfa57e71569ad
parent0d10416797c27b9e359d4bd94fb9db6f34f25d83
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