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 Add support for locking based on SCSI volume ID 2012-12-13 15:26:58 +00:00
libvirt_sanlock.aug sanlock: Introduce 'user' and 'group' conf variables 2012-10-30 10:12:10 +01:00
lock_daemon_config.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lock_daemon_config.h Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
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 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 Rename threads.{c,h} to virthread.{c,h} 2012-12-21 11:19:49 +00:00
lock_driver_lockd.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lock_driver_nop.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
lock_driver_nop.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
lock_driver_sanlock.c safezero: fall back to writing zeroes even when resizing 2015-01-09 13:48:23 +01:00
lock_driver.h Convert 'int i' to 'size_t i' in src/locking/ files 2013-07-10 17:55:16 +01:00
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 Add support for locking based on SCSI volume ID 2012-12-13 15:26:58 +00:00
test_libvirt_sanlock.aug.in sanlock: Introduce 'user' and 'group' conf variables 2012-10-30 10:12:10 +01:00
test_virtlockd.aug.in test_virtlockd.aug.in: Use the correct file 2013-09-03 17:03:30 +02:00
virtlockd.aug Process virtlockd.conf instead of libvirtd.conf 2013-08-30 17:37:12 +02:00
virtlockd.conf Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
virtlockd.init.in virtlockd: improve initscripts 2013-12-10 12:02:37 +01:00
virtlockd.pod.in Revert "virtlockd: treat SIGHUP like SIGUSR1" 2013-12-10 15:49:06 +01:00
virtlockd.service.in Add Documentation fields to systemd service files 2014-01-09 09:32:55 +01:00
virtlockd.socket.in virtlockd: improve systemd units 2013-12-10 12:02:37 +01:00
virtlockd.sysconf Introduce basic infrastructure for virtlockd daemon 2012-12-13 15:26:57 +00:00