diff options
author | 2023-05-31 17:02:54 -0400 | |
---|---|---|
committer | 2023-08-23 15:58:47 -0400 | |
commit | 8d18f6c5bb864d97a730f471c56cdecf313efe64 (patch) | |
tree | 42f76ccb09d82463c11ea21071f9ec6952ec9e07 /tools/perf/scripts/python | |
parent | NFSv4.2: Fix READ_PLUS smatch warnings (diff) | |
download | wireguard-linux-8d18f6c5bb864d97a730f471c56cdecf313efe64.tar.xz wireguard-linux-8d18f6c5bb864d97a730f471c56cdecf313efe64.zip |
NFSv4.2: Fix READ_PLUS size calculations
I bump the decode_read_plus_maxsz to account for hole segments, but I
need to subtract out this increase when calling
rpc_prepare_reply_pages() so the common case of single data segment
replies can be directly placed into the xdr pages without needing to be
shifted around.
Reported-by: Chuck Lever <chuck.lever@oracle.com>
Fixes: d3b00a802c845 ("NFS: Replace the READ_PLUS decoding code")
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions