diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-22 16:09:04 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-29 20:16:57 -0400 |
commit | 28d5bc468efe74b790e052f758ce083a5015c665 (patch) | |
tree | de8222db92370ef1a0a5b91361136feea7b4ff98 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 24c7fb85498eda1d4c6b42cc4886328429814990 (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions