[PATCH] Samba: CephFS Snapshots VFS module

David Disseldorp ddiss at suse.de
Fri Mar 29 17:45:31 UTC 2019


The attached patchset adds a new ceph_snapshots Samba VFS module which
handles snapshot enumeration and timewarp/@GMT token mapping.

This patchset depends on a new CephFS virtual xattr to obtain the
snapshot creation time, which is pending merge:
https://tracker.ceph.com/issues/38838

Changes since RFC:
- drop RFC now that the CephFS changes have been approved
- add "ceph:snapdir" smb.conf parameter, to support CephFS deployments
  with custom "client snapdir" ceph.conf or snapdirname mount settings
- increase the number of GMT label pool-allocated slots during snapshot
  enumeration

 ctdb/wscript                               |    2 +-
 docs-xml/manpages/vfs_ceph_snapshots.8.xml |  130 ++
 docs-xml/wscript_build                     |    1 +
 source3/modules/vfs_ceph.c                 |   15 +-
 source3/modules/vfs_ceph_snapshots.c       | 1746 ++++++++++++++++++++
 source3/modules/wscript_build              |   11 +-
 source3/wscript                            |    5 +
 7 files changed, 1896 insertions(+), 14 deletions(-)

Feedback appreciated.

Cheers, David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vfs_ceph_snapshots.patchset
Type: text/x-patch
Size: 57034 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190329/f952ffa5/vfs_ceph_snapshots.bin>


More information about the samba-technical mailing list