diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-08-28 16:23:00 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-30 00:44:12 +0300 |
commit | f16ff1cafbf1e65cc706af912df90bcc15d39a6c (patch) | |
tree | b025c623a100760af0e90508ec51ac14f987df5d /arch | |
parent | 2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff) | |
download | linux-f16ff1cafbf1e65cc706af912df90bcc15d39a6c.tar.xz |
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: Maxim Levitsky <mlevitsk@redhat.com>
Fixes: c96e2a695e00 ("sunrpc: set the bv_offset of first bvec in svc_tcp_sendmsg")
Tested-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions