On Thu, Oct 23, 2025 at 04:34:36PM +0200, Arsen Arsenović wrote:
>   ~/tmp$ strace -e trace=ftruncate,fallocate nbdcopy --allocated 
> --destination-is-zero --synchronous --request-size=32K 
> copy-allocated-destination-zero-synch.in 
> copy-allocated-destination-zero-synch.out
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971755, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971757, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971758, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971761, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971764, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1971765, 
> si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
>   ftruncate(4, 0)                         = 0
>   ftruncate(4, 33554432)                  = 0
>   fallocate(4, 0, 0, 33554432)            = 0

I was definitely expecting this one to fail with ENOTSUP or similar.
That's with the file copy-allocated-destination-zero-synch.out on ZFS?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
Libguestfs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to