1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

vfs: add ceph_snapshots module

vfs_ceph_snapshots is a module for accessing CephFS snapshots as
Previous Versions. The module is separate from vfs_ceph, so that it can
also be used atop a CephFS kernel backed share with vfs_default.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
David Disseldorp
2019-03-26 16:35:18 +01:00
parent 76d7d05b1d
commit 76f3b194c2
3 changed files with 1848 additions and 0 deletions

View File

@ -1766,6 +1766,11 @@ main() {
if conf.CONFIG_SET("HAVE_CEPH"):
default_shared_modules.extend(TO_LIST('vfs_ceph'))
# Unlike vfs_ceph, vfs_ceph_snapshots doesn't depend on libcephfs, so
# can be enabled atop a kernel CephFS share (with vfs_default) in
# addition to vfs_ceph. Still, only enable vfs_ceph_snapshots builds
# if we're building with libcephfs for now.
default_shared_modules.extend(TO_LIST('vfs_ceph_snapshots'))
if conf.CONFIG_SET('HAVE_GLUSTERFS'):
default_shared_modules.extend(TO_LIST('vfs_glusterfs'))