There is a similar bug report [1] for NFS, and the fix has already
landed in Bionic kernel [2]
It's not the same issue as the copy_range works except the "beyond" copy test
here.
[1] https://www.spinics.net/lists/linux-nfs/msg63817.html
[2] 6d3b5d8d8dd1c14f991ccab84b40f8425f1ae91b in Bionic
A quick and dirty gdb debug indicates it's looping with copy_file_range
syscall(326)
$ grep copy /usr/include/asm/unistd_64.h
#define __NR_copy_file_range 326
gdb --args /usr/sbin/xfs_io -i -f -c "copy_range -s 4000 -l 2000
/home/ubuntu/test/test-430/file" "/home/ubuntu/test/test-430/beyond"
2 matches
Mail list logo