[Libguestfs] [PATCH libnbd 0/2] copy: Use preferred block size when writing

Richard W.M. Jones rjones at redhat.com
Tue Jun 28 14:14:16 UTC 2022


After thinking about this some more, I think the approach I'm taking
is wrong.  As Nir said a while back, the right way to do this is to
modify the main loop so it takes into account the block
size(s = source and destination) and copies whole blocks.

I'll try and do a v2 which takes that approach later.

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


More information about the Libguestfs mailing list