Change in vdsm[master]: sp: refactor out the metadata access from StoragePool

danken at redhat.com danken at redhat.com
Mon Jan 20 10:15:41 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: sp: refactor out the metadata access from StoragePool
......................................................................


sp: refactor out the metadata access from StoragePool

All the storage pool metadata operations have been relocated to a
specific backend: StoragePoolDiskBackend. It is now possible,
implementing the required API, to use different backends for the
pool metadata.

A backend may require other attributes and methods in addition to
the regular API used by StoragePool, these specific features should
be handled outside of the StoragePool implementation, typically in
the HSM class where the backward compatibility layer is maintained.

Change-Id: I75493d1db60e51cccd5231b516f963c970d24c99
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/22132
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M debian/vdsm.install
M vdsm.spec.in
M vdsm/storage/Makefile.am
M vdsm/storage/hsm.py
M vdsm/storage/sp.py
A vdsm/storage/spbackends.py
6 files changed, 458 insertions(+), 223 deletions(-)

Approvals:
  Federico Simoncelli: Verified
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/22132
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I75493d1db60e51cccd5231b516f963c970d24c99
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list