diff options
author | J. Bruce Fields <bfields@redhat.com> | 2020-05-14 01:38:40 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-05-14 23:31:09 +0300 |
commit | 933496e9cc02cda16ca8f0c38e56204376d6b0b2 (patch) | |
tree | 40931f5dc3896bfc6378df9aa54b3fcfcbfc427d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4fa7ef69e2918eb89c95e57978d839c0a31f332c (diff) | |
download | linux-933496e9cc02cda16ca8f0c38e56204376d6b0b2.tar.xz |
SUNRPC: 'Directory with parent 'rpc_clnt' already present!'
Each rpc_client has a cl_clid which is allocated from a global ida, and
a debugfs directory which is named after cl_clid.
We're releasing the cl_clid before we free the debugfs directory named
after it. As soon as the cl_clid is released, that value is available
for another newly created client.
That leaves a window where another client may attempt to create a new
debugfs directory with the same name as the not-yet-deleted debugfs
directory from the dying client. Symptoms are log messages like
Directory 4 with parent 'rpc_clnt' already present!
Fixes: 7c4310ff5642 "SUNRPC: defer slow parts of rpc_free_client() to a workqueue."
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions