diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-08 21:26:16 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-30 03:12:01 +0300 |
commit | c7b824c3d06c85e054caf86e227255112c5e3c38 (patch) | |
tree | 58bbb17d42e46bcd1e7f7b861306ccc80ce4bbe7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f0743c2b25c65debd4f599a7c861428cd9de5906 (diff) | |
download | linux-c7b824c3d06c85e054caf86e227255112c5e3c38.tar.xz |
NFSD: Replace the "init once" mechanism
In a moment, the nfsd_file_hashtbl global will be replaced with an
rhashtable. Replace the one or two spots that need to check if the
hash table is available. We can easily reuse the SHUTDOWN flag for
this purpose.
Document that this mechanism relies on callers to hold the
nfsd_mutex to prevent init, shutdown, and purging to run
concurrently.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions