2020-11-10 04:19:29

by Murphy Zhou

[permalink] [raw]
Subject: Last NFSD update breaks nfsv4.2 copy_file_range

Hi,

copy_file_range for NFSv4.2 is broke by this

commit 9f0b5792f07d8f0745c3620d577d6930ff2a96fd
Author: Anna Schumaker <[email protected]>
Date: Mon Sep 28 13:09:01 2020 -0400

NFSD: Encode a full READ_PLUS reply


LTP copy_file_range01 repeats this failure:
copy_file_range01.c:144: TFAIL: file contents do not match

Revert this commit then the failure gone.

Attached simplified reproducer for your ref.

--
Murphy


Attachments:
(No filename) (456.00 B)
copy_file_range.c (1.66 kB)
nfs_copy_range.sh (638.00 B)
Download all attachments