diff options
author | 2022-07-22 16:09:04 -0400 | |
---|---|---|
committer | 2022-07-29 20:16:57 -0400 | |
commit | 28d5bc468efe74b790e052f758ce083a5015c665 (patch) | |
tree | de8222db92370ef1a0a5b91361136feea7b4ff98 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | NFSD: Add an nfsd4_read::rd_eof field (diff) | |
download | linux-dev-28d5bc468efe74b790e052f758ce083a5015c665.tar.xz linux-dev-28d5bc468efe74b790e052f758ce083a5015c665.zip |
NFSD: Optimize nfsd4_encode_readv()
write_bytes_to_xdr_buf() is pretty expensive to use for inserting
an XDR data item that is always 1 XDR_UNIT at an address that is
always XDR word-aligned.
Since both the readv and splice read paths encode EOF and maxcount
values, move both to a common code path.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions