> On Aug 17, 2021, at 7:05 PM, Dai Ngo <dai.ngo@xxxxxxxxxx> wrote: > > > On 8/17/21 3:55 PM, dai.ngo@xxxxxxxxxx wrote: >> >> On 8/17/21 2:51 PM, Timo Rothenpieler wrote: >>> On 17.08.2021 23:08, Chuck Lever III wrote: >>>> I tried reproducing this using your 'xfs_io -fc "copy_range >>>> testfile" testfile.copy' reproducer, but couldn't. >>>> >>>> A network capture shows that the client tries CLONE first. The >>>> server reports that's not supported, so the client tries COPY. >>>> The COPY works, and the reply shows that the COPY was synchro- >>>> nous. Thus there's no need for a callback, and I'm not tripping >>>> over backchannel misbehavior. >>> >>> Make sure the testfile is of sufficient size. I'm not sure what the threshold is, but if it's too small, it'll just do a synchronous copy for me as well. >>> I'm using a 50MB file in my tests. >> >> The threshold for intra-server copy is (2*rsize) of the source server. > > The threshold for inter-server copy is (14*rsize). This restriction is to be removed in the next merge. > > e-Dai > >> Any copy smaller than this is done synchronously. Thank you, Dai, that helped. I was able to reproduce with a 200MB source file on an xfs-backed export. Looking at the issue now. -- Chuck Lever