diff options
author | J. Bruce Fields <[email protected]> | 2012-03-05 16:40:31 -0500 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2014-01-07 16:01:15 -0500 |
commit | 208d0acc49cbf22a71d32b40a69e199717a76687 (patch) | |
tree | 2f884738d02f0ab5da93e85198dc8458c1fe5b9c /lib/mpi/mpi-internal.h | |
parent | 60810e5489dffd0bd12e4f99fe9fc330c9a636e1 (diff) |
nfsd4: break only delegations when appropriate
As a temporary fix, nfsd was breaking all leases on unlink, link,
rename, and setattr.
Now that we can distinguish between leases and delegations, we can be
nicer and break only the delegations, and not bother lease-holders with
operations they don't care about.
And we get to delete some code while we're at it.
Note that in the presence of delegations the vfs calls here all return
-EWOULDBLOCK instead of blocking, so nfsd threads will not get stuck
waiting for delegation returns.
Acked-by: Jeff Layton <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions