core-admin/qubes
Marek Marczykowski-Górecki 52c3753d61
storage: support asynchronous storage pool implementations
Allow specific pool implementation to provide asynchronous
implementation. vm.storage.* methods will detect if given implementation
is synchronous or asynchronous and will act accordingly.
Then it's up to pool implementation how asynchronous should be achieved.
Do not force it using threads (`run_in_executor()`). But pool
implementation is free to use threads, if consider it safe in a
particular case.

This commit does not touch any pool implementation - all of them are
still synchronous.

QubesOS/qubes-issues#2256
2017-05-12 17:04:18 +02:00
..
ext events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
qmemman qmemman: update for py3k 2017-02-27 02:37:49 +01:00
storage storage: support asynchronous storage pool implementations 2017-05-12 17:04:18 +02:00
tests storage: support asynchronous storage pool implementations 2017-05-12 17:04:18 +02:00
tools tools: remove qubes_monitor_layout_notify tool - moved to mgmt-client 2017-05-12 14:25:30 +02:00
vm storage: support asynchronous storage pool implementations 2017-05-12 17:04:18 +02:00
__init__.py quebs: make Label() and storage.Pool() objects hashable 2017-05-12 14:27:47 +02:00
app.py Make pylint happy 2017-04-21 16:57:35 +02:00
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py mgmt: add label-related calls 2017-03-16 20:04:04 +01:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py Fixes for devices API 2017-05-12 14:25:31 +02:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
exc.py mgmt: vm.features handling (mgmt.vm.feature.*) 2017-05-12 14:25:28 +02:00
firewall.py Make pylint happy 2017-04-21 16:57:35 +02:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
mgmt.py mgmt: rework mgmt.Events to use per-instance handlers 2017-05-12 14:25:32 +02:00
mgmtinternal.py qubesd: add second socket for in-dom0 internal calls 2017-04-07 17:07:28 +02:00
rngdoc.py Make pylint happy 2017-04-21 16:57:35 +02:00
tarwriter.py Make pylint happy 2017-04-21 16:57:35 +02:00
utils.py Make pylint happy 2017-04-21 16:57:35 +02:00