Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (returned from syscall 326), syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 in ../sysdeps/unix/sysv/linux/x86_64/syscall.S
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 in ../sysdeps/unix/sysv/linux/x86_64/syscall.S
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (returned from syscall 326), syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 in ../sysdeps/unix/sysv/linux/x86_64/syscall.S
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 in ../sysdeps/unix/sysv/linux/x86_64/syscall.S
(gdb) continue
Continuing.
A quick and dirty gdb debug indicates it's looping with copy_file_range syscall(326)
$ grep copy /usr/include/ asm/unistd_ 64.h file_range 326
#define __NR_copy_
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"
(gdb) catch syscall 326 test/test- 430/file /home/ubuntu/ test/test- 430/beyond 64-linux- gnu/libthread_ db.so.1" .
Catchpoint 1 (syscall 326)
(gdb) run
Starting program: /usr/sbin/xfs_io -i -f -c copy_range\ -s\ 4000\ -l\ 2000\ /home/ubuntu/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff7036700 (LWP 10450)]
Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/ unix/sysv/ linux/x86_ 64/syscall. S:38 unix/sysv/ linux/x86_ 64/syscall. S: No such file or directory.
38 ../sysdeps/
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (returned from syscall 326), syscall () at ../sysdeps/ unix/sysv/ linux/x86_ 64/syscall. S:38 unix/sysv/ linux/x86_ 64/syscall. S
38 in ../sysdeps/
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/ unix/sysv/ linux/x86_ 64/syscall. S:38 unix/sysv/ linux/x86_ 64/syscall. S
38 in ../sysdeps/
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (returned from syscall 326), syscall () at ../sysdeps/ unix/sysv/ linux/x86_ 64/syscall. S:38 unix/sysv/ linux/x86_ 64/syscall. S
38 in ../sysdeps/
(gdb) continue
Continuing.
Thread 1 "xfs_io" hit Catchpoint 1 (call to syscall 326), syscall () at ../sysdeps/ unix/sysv/ linux/x86_ 64/syscall. S:38 unix/sysv/ linux/x86_ 64/syscall. S
38 in ../sysdeps/
(gdb) continue
Continuing.