diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-01-18 20:31:34 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 17:20:51 +0300 |
commit | fcb530973b3c48099108e6e2e7433db9188f7eeb (patch) | |
tree | deea6e7a21cdd6eadbb14c9ea514e5b58e3e6106 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c4a9f0552cf682489d370adccf2f3ee11a8ff272 (diff) | |
download | linux-fcb530973b3c48099108e6e2e7433db9188f7eeb.tar.xz |
nfsd: don't take nfsd4_copy ref for OP_OFFLOAD_STATUS
We're not doing any blocking operations for OP_OFFLOAD_STATUS, so taking
and putting a reference is a waste of effort. Take the client lock,
search for the copy and fetch the wr_bytes_written field and return.
Also, make find_async_copy a static function.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Olga Kornievskaia <kolga@netapp.com>
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