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 locking: Add APIs to lock individual image files 2014-07-09 10:38:56 +02:00
domain_lock.h locking: Add APIs to lock individual image files 2014-07-09 10:38:56 +02:00
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 Indent top-level labels by one space in src/locking/ 2014-03-25 14:58:39 +01:00
lock_daemon_dispatch.h
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 Use virFileFindResource to locate lock manager plugins 2014-04-25 11:59:46 +01:00
lock_manager.h Use virFileFindResource to locate lock manager plugins 2014-04-25 11:59:46 +01:00
lock_protocol.x Fix typos in src/* 2014-04-21 16:49:08 -06:00
lockd.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
sanlock_helper.c Replace virDomainFree with virObjectUnref 2014-12-02 11:03:40 -05:00
sanlock.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
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