core-admin/qubes/tests
Marek Marczykowski-Górecki 11c7b4bb51
storage/lvm: improve handling interrupted commit
First rename volume to backup revision, regardless of revisions_to_keep,
then rename -snap to current volume. And only then remove backup
revision (if exceed revisions_to_keep). This way even if commit
operation is interrupted, there is still a volume with the data.
This requires also adjusting few functions to actually fallback to most
recent backup revision if the current volume isn't found - create
_vid_current property for this purpose.
Also, use -snap volume for clone operation and commit it normally later.
This makes it safer to interrupt or even revert.

QubesOS/qubes-issues#2256
2018-07-12 16:10:44 +02:00
..
integ Merge remote-tracking branch 'qubesos/pr/209' 2018-04-30 01:13:11 +02:00
tools Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
vm vm/mix/net: make vm.gateway6 consistent with vm.gateway 2018-04-03 00:20:06 +02:00
__init__.py Merge remote-tracking branch 'qubesos/pr/209' 2018-04-30 01:13:11 +02:00
api_admin.py api/admin: fix volume info formatting 2018-04-16 22:17:48 +02:00
api_misc.py vm/qubesvm: allow 'features-request' to have async handlers 2018-03-02 01:16:38 +01:00
api.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
app.py app: kill default_fw_netvm property 2017-12-07 01:40:29 +01:00
devices_block.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
devices.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
events.py events: add support for wildcard event handlers 2018-01-06 00:40:19 +01:00
ext.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
extra.py qubes/tests: use loadTestsFromNames for nose2 compat 2018-03-30 03:05:01 +02:00
firewall.py tests: fix firewall tests after 6e8e48e3 "Avoid UTC datetime" 2018-03-22 01:47:41 +01:00
init.py remove unused netid code 2017-11-11 02:37:37 +01:00
run.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_file.py Merge branch 'devel-storage-fixes' 2018-03-21 02:06:25 +01:00
storage_kernels.py storage/kernel: skip modules.img block device if kernel dir doesn't have it 2018-02-27 04:35:05 +01:00
storage_lvm.py storage/lvm: improve handling interrupted commit 2018-07-12 16:10:44 +02:00
storage.py file-reflink, a storage driver optimized for CoW filesystems 2018-02-12 21:20:05 +00:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00