libvirt/src/locking
Ján Tomko 1390c26847 safezero: fall back to writing zeroes even when resizing
Remove the resize flag and use the same code path for all callers.
This flag was added by commit 18f0316 to allow virStorageFileResize
use 'safezero' while preserving the behavior.

Explicitly return -2 when a fallback to a different method should
be done, to make the code path more obvious.

Fail immediately when ftruncate fails in the mmap method,
as we did before commit 18f0316.
2015-01-09 13:48:23 +01:00
..
domain_lock.c
domain_lock.h
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lock_daemon_config.h
lock_daemon_dispatch.c
lock_daemon_dispatch.h Implement dispatch functions for lock protocol in virtlockd 2012-12-13 15:26:57 +00:00
lock_daemon.c Remove unnecessary curly brackets in rest of src/[a-n]*/ 2014-11-14 17:13:36 +01:00
lock_daemon.h
lock_driver_lockd.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lock_driver_nop.c
lock_driver_nop.h
lock_driver_sanlock.c safezero: fall back to writing zeroes even when resizing 2015-01-09 13:48:23 +01:00
lock_driver.h
lock_manager.c
lock_manager.h
lock_protocol.x
lockd.conf
sanlock_helper.c Replace virDomainFree with virObjectUnref 2014-12-02 11:03:40 -05:00
sanlock.conf
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in
virtlockd.aug
virtlockd.conf
virtlockd.init.in
virtlockd.pod.in
virtlockd.service.in
virtlockd.socket.in
virtlockd.sysconf