]> git.ipfire.org Git - thirdparty/libvirt.git/commit
iohelper: reduce zero-out in align case
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 7 Sep 2017 07:44:15 +0000 (10:44 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Sep 2017 09:37:24 +0000 (11:37 +0200)
commit776b9ac594b6a1e4afc924826c6e9cb5474e8e27
tree137c170220106fb683f97b324034a5687c4cc369
parentf830e371ef298e7fa949165d10dcf0cf3518abd5
iohelper: reduce zero-out in align case

We only need to zero-out bytes that will be written.
May be we even don't need to zero-out at all because
of immediate truncate.
src/util/iohelper.c