Saggi Mizrahi has uploaded a new change for review.
Change subject: Refactor storage connection subsystem
......................................................................
Refactor storage connection subsystem
The current one is an abysmal mess. This is a tramsitional patch
retrofitting the old API to some of the concept we intend to implement.
This introduces ConnectionMonitor. It currently doesn't do any
monitoring just connects and disconnects from storage. It uses URIs for
specifying storage targets which is more generic and simple to parse.
Notice:
Permissions are no longer checked on storage connect only on domain
initialization. This is good as the storage connection is far from an
apropriate place for that check.
I've removed stale root folder handling for NFS. I will add it back I
can't do everything at once.
There are also no proper engine acceptable exceptions yet
Change-Id: Ifc5c160aba9b4cc88225dde0c44f9b766c6a4c0d
---
M vdsm.spec.in
M vdsm/storage/Makefile.am
A vdsm/storage/connectionMonitor.py
M vdsm/storage/fileSD.py
M vdsm/storage/hsm.py
M vdsm/storage/iscsi.py
M vdsm/storage/localFsSD.py
M vdsm/storage/misc.py
M vdsm/storage/mount.py
M vdsm/storage/multipath.py
M vdsm/storage/nfsSD.py
A vdsm/storage/storageMailbox.py
D vdsm/storage/storage_connection.py
A vdsm/storage/sync.py
14 files changed, 884 insertions(+), 486 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/1038/1
--
To view, visit
http://gerrit.ovirt.org/1038
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc5c160aba9b4cc88225dde0c44f9b766c6a4c0d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <smizrahi(a)redhat.com>