[Libguestfs] [PATCH v3 0/4] file: Zero for block devices and older file systems

Nir Soffer nsoffer at redhat.com
Tue Aug 21 13:37:42 UTC 2018


On Tue, Aug 21, 2018 at 4:07 PM Richard W.M. Jones <rjones at redhat.com>
wrote:

>
> FYI I added a few enhancements to allow easier tracing inside the file
> plugin:
>
>
> https://github.com/libguestfs/nbdkit/commit/10d4dcfb30cb0ba626a2ec503c7c96f72c6ca88e
>
> https://github.com/libguestfs/nbdkit/commit/96a41cd798ec0dce07d97c2a4a04ee6284e1552f


Cool


> I learned from this that the file_zero function does successfully use
> fallocate to zero ranges, at least on my very recent Linux system.
>

I used strace with one thread to test these features, nice be able to peek
into the plugin state like this.

Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180821/70654c9d/attachment.htm>


More information about the Libguestfs mailing list