Skip to content
Commit f16ff1ca authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Fix the recent bv_offset fix



Jeff confirmed his original fix addressed his pynfs test failure,
but this same bug also impacted qemu: accessing qcow2 virtual disks
using direct I/O was failing. Jeff's fix missed that you have to
shorten the bio_vec element by the same amount as you increased
the page offset.

Reported-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
Fixes: c96e2a69 ("sunrpc: set the bv_offset of first bvec in svc_tcp_sendmsg")
Tested-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 2dde18cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment