]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
store: Abstract the underlying filesystem functionality
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 4 Aug 2013 03:51:48 +0000 (11:51 +0800)
committerSage Weil <sage@inktank.com>
Thu, 15 Aug 2013 16:48:22 +0000 (09:48 -0700)
commita25d73effb38118602bc73da0aa258c639f69c2c
tree0a5b2871b6aefd9436c202d73264707439e64ab5
parent24ec3201ed7a99b6742d35efd4cb728e2f68f69a
store: Abstract the underlying filesystem functionality

This patch defines class FileStoreBackend, and use it to abstracts
filesystem's functionalities.

Fiemap() and syncfs() related code is moved into class
GenericFileStoreBackend.

All btrfs specific code is moved into class BtrfsFileStoreBackend.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/Makefile.am
src/os/BtrfsFileStoreBackend.cc [new file with mode: 0644]
src/os/BtrfsFileStoreBackend.h [new file with mode: 0644]
src/os/FileStore.cc
src/os/FileStore.h
src/os/GenericFileStoreBackend.cc [new file with mode: 0644]
src/os/GenericFileStoreBackend.h [new file with mode: 0644]