forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial changes for object store factory
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
- Loading branch information
Varada Kari
committed
Jun 22, 2015
1 parent
294bef3
commit 9d5fe2f
Showing
91 changed files
with
1,380 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,22 @@ | ||
libos_types_la_SOURCES = \ | ||
os/Transaction.cc | ||
libos_types_la_CXXFLAGS = ${AM_CXXFLAGS} | ||
noinst_LTLIBRARIES += libos_types.la | ||
include os/filestore/Makefile.am | ||
include os/keyvaluestore/Makefile.am | ||
include os/memstore/Makefile.am | ||
|
||
if ENABLE_SERVER | ||
|
||
noinst_HEADERS += \ | ||
os/ObjectStore.h | ||
|
||
libos_la_SOURCES = \ | ||
os/chain_xattr.cc \ | ||
os/DBObjectMap.cc \ | ||
os/GenericObjectMap.cc \ | ||
os/FileJournal.cc \ | ||
os/FileStore.cc \ | ||
os/FlatIndex.cc \ | ||
os/GenericFileStoreBackend.cc \ | ||
os/HashIndex.cc \ | ||
os/IndexManager.cc \ | ||
os/JournalingObjectStore.cc \ | ||
os/LevelDBStore.cc \ | ||
os/LFNIndex.cc \ | ||
os/MemStore.cc \ | ||
os/KeyValueDB.cc \ | ||
os/KeyValueStore.cc \ | ||
os/ObjectStore.cc \ | ||
os/WBThrottle.cc \ | ||
os/KeyValueDB.cc \ | ||
os/Transaction.cc \ | ||
common/TrackedOp.cc | ||
|
||
if LINUX | ||
libos_la_SOURCES += os/BtrfsFileStoreBackend.cc | ||
endif | ||
|
||
if WITH_LIBXFS | ||
libos_la_SOURCES += os/XfsFileStoreBackend.cc | ||
endif | ||
|
||
if WITH_LIBZFS | ||
libos_la_SOURCES += os/ZFSFileStoreBackend.cc | ||
endif | ||
|
||
libos_la_CXXFLAGS = ${AM_CXXFLAGS} | ||
libos_la_LIBADD = $(LIBOS_TYPES) | ||
#libos_la_LIBADD = $(LIBOS_TYPES) | ||
if WITH_LTTNG | ||
libos_la_LIBADD += $(LIBOS_TP) | ||
libos_la_LIBADD = $(LIBOS_TP) | ||
endif | ||
|
||
noinst_LTLIBRARIES += libos.la | ||
|
||
noinst_HEADERS += \ | ||
os/btrfs_ioctl.h \ | ||
os/chain_xattr.h \ | ||
os/BtrfsFileStoreBackend.h \ | ||
os/CollectionIndex.h \ | ||
os/DBObjectMap.h \ | ||
os/GenericObjectMap.h \ | ||
os/FileJournal.h \ | ||
os/FileStore.h \ | ||
os/FlatIndex.h \ | ||
os/FDCache.h \ | ||
os/GenericFileStoreBackend.h \ | ||
os/HashIndex.h \ | ||
os/IndexManager.h \ | ||
os/Journal.h \ | ||
os/JournalingObjectStore.h \ | ||
os/KeyValueDB.h \ | ||
os/LevelDBStore.h \ | ||
os/LFNIndex.h \ | ||
os/MemStore.h \ | ||
os/KeyValueStore.h \ | ||
os/ObjectMap.h \ | ||
os/ObjectStore.h \ | ||
os/SequencerPosition.h \ | ||
os/WBThrottle.h \ | ||
os/XfsFileStoreBackend.h \ | ||
os/ZFSFileStoreBackend.h | ||
|
||
if WITH_SLIBROCKSDB | ||
libos_rocksdb_la_SOURCES = os/RocksDBStore.cc | ||
libos_rocksdb_la_CXXFLAGS = ${AM_CXXFLAGS} ${LIBROCKSDB_CFLAGS} -std=gnu++11 -I rocksdb/include | ||
libos_rocksdb_la_LIBADD = rocksdb/librocksdb.la | ||
noinst_LTLIBRARIES += libos_rocksdb.la | ||
noinst_HEADERS += os/RocksDBStore.h | ||
endif | ||
if WITH_DLIBROCKSDB | ||
libos_rocksdb_la_SOURCES = os/RocksDBStore.cc | ||
libos_rocksdb_la_CXXFLAGS = ${AM_CXXFLAGS} ${LIBROCKSDB_CFLAGS} -std=gnu++11 | ||
libos_rocksdb_la_LIBADD = -lrocksdb | ||
noinst_LTLIBRARIES += libos_rocksdb.la | ||
noinst_HEADERS += os/RocksDBStore.h | ||
endif | ||
if WITH_LIBZFS | ||
libos_zfs_a_SOURCES = os/ZFS.cc | ||
libos_zfs_a_CXXFLAGS = ${AM_CXXFLAGS} ${LIBZFS_CFLAGS} | ||
noinst_LIBRARIES += libos_zfs.a | ||
noinst_HEADERS += os/ZFS.h | ||
endif | ||
|
||
if WITH_KINETIC | ||
libos_la_SOURCES += os/KineticStore.cc | ||
libos_la_CXXFLAGS += -std=gnu++11 | ||
libos_la_LIBADD += -lkinetic_client -lprotobuf -lglog -lgflags libcrypto.a | ||
noinst_HEADERS += os/KineticStore.h | ||
endif | ||
|
||
endif # ENABLE_SERVER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.