diff options
author | Jeff Layton | 2014-07-29 21:34:12 -0400 |
---|---|---|
committer | J. Bruce Fields | 2014-07-31 14:20:07 -0400 |
commit | 1c755dc1ada95adc9aa41102baada73659397b80 (patch) | |
tree | f0a71a29d1b9a834dfacc9086c86bb9c77ac45dd /scripts | |
parent | b49e084d8c7df1632bb2b94ae1a21c8a4cf2d8a4 (diff) |
nfsd: Add locking to protect the state owner lists
Change to using the clp->cl_lock for this. For now, there's a lot of
cl_lock thrashing, but in later patches we'll eliminate that and close
the potential races that can occur when releasing the cl_lock while
walking the lists. For now, the client_mutex prevents those races.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions