I'm working on splitting of the storage backend codebase into loadable modules
so that ceratin libraries (ceph, gluster) can be installed only when the
functionality is required.
This is a dump of cleanup patches, but they tend to get merge conflicts pretty
often so I'm sending them prior to finishing the driver module stuff.
Peter Krempa (6):
storage: Remove common code from specific driver backend
storage: Split utility functions from storage_backend.(ch)
storage: fs: Compile file backends even if filesystem support is
disabled
storage: scsi: Fix build if SCSI backend is disabled but iSCSI is
enabled
storage: scsi: Remove private constants from header
storage: sheepdog: Split out functions required for tests
po/POTFILES.in | 1 +
src/Makefile.am | 6 +-
src/storage/storage_backend.c | 2807 +---------------------
src/storage/storage_backend.h | 124 -
src/storage/storage_backend_disk.c | 153 +-
src/storage/storage_backend_disk.h | 3 -
src/storage/storage_backend_fs.c | 4 +-
src/storage/storage_backend_gluster.c | 1 +
src/storage/storage_backend_iscsi.c | 2 +-
src/storage/storage_backend_logical.c | 1 +
src/storage/storage_backend_mpath.c | 1 +
src/storage/storage_backend_rbd.c | 1 +
src/storage/storage_backend_scsi.c | 452 +---
src/storage/storage_backend_scsi.h | 8 -
src/storage/storage_backend_sheepdog.c | 2 +
src/storage/storage_backend_sheepdog.h | 5 -
src/storage/storage_backend_sheepdog_priv.h | 29 +
src/storage/storage_backend_zfs.c | 1 +
src/storage/storage_driver.c | 1 +
src/storage/storage_util.c | 3364 +++++++++++++++++++++++++++
src/storage/storage_util.h | 151 ++
tests/storagebackendsheepdogtest.c | 2 +-
tests/storagevolxml2argvtest.c | 2 +-
23 files changed, 3602 insertions(+), 3519 deletions(-)
create mode 100644 src/storage/storage_backend_sheepdog_priv.h
create mode 100644 src/storage/storage_util.c
create mode 100644 src/storage/storage_util.h
--
2.11.0