diff options
author | Jeff Layton <[email protected]> | 2018-03-16 11:32:02 -0400 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2018-03-19 16:37:21 -0400 |
commit | 68ef3bc3166468678d5e1fdd216628c35bd1186f (patch) | |
tree | 403d19d2d65cd69779143dc51cb0efbd78ce15c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91ab883eb21325ad80f3473633f794c78ac87f51 (diff) |
nfsd: remove blocked locks on client teardown
We had some reports of panics in nfsd4_lm_notify, and that showed a
nfs4_lockowner that had outlived its so_client.
Ensure that we walk any leftover lockowners after tearing down all of
the stateids, and remove any blocked locks that they hold.
With this change, we also don't need to walk the nbl_lru on nfsd_net
shutdown, as that will happen naturally when we tear down the clients.
Fixes: 76d348fadff5 (nfsd: have nfsd4_lock use blocking locks for v4.1+ locks)
Reported-by: Frank Sorenson <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Cc: [email protected] # 4.9
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions