summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-05-29 07:21:46 -0400
committerAndrew Bartlett <abartlet@samba.org>2013-05-30 10:57:35 +1000
commit0b8b6fdc96f59895536d16de43a1494c5eef5c67 (patch)
treeab9a98ba7392928ddf8d4e517fea60d2fd22e3ae /source3/modules/wscript_build
parent05578dcdbfa1734ae7bafb70859a76f4cd2a023d (diff)
downloadsamba-0b8b6fdc96f59895536d16de43a1494c5eef5c67.tar.gz
samba-0b8b6fdc96f59895536d16de43a1494c5eef5c67.tar.bz2
samba-0b8b6fdc96f59895536d16de43a1494c5eef5c67.zip
vfs_glusterfs: Samba VFS module for glusterfs
Implement a Samba VFS plugin for glusterfs based on gluster's gfapi. This is a "bottom" vfs plugin (not something to be stacked on top of another module), and translates (most) calls into closest actions on gfapi. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Signed-off-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 937dbdec15..469b2f365c 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -52,6 +52,7 @@ VFS_TIME_AUDIT_SRC = 'vfs_time_audit.c'
VFS_MEDIA_HARMONY_SRC = 'vfs_media_harmony.c'
VFS_BTRFS_SRC = 'vfs_btrfs.c'
VFS_CEPH_SRC = 'vfs_ceph.c'
+VFS_GLUSTERFS_SRC = 'vfs_glusterfs.c'
bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
@@ -522,3 +523,12 @@ bld.SAMBA3_MODULE('vfs_ceph',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_ceph'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph'),
cflags=bld.CONFIG_GET('CCFLAGS_CEPHFS'))
+
+bld.SAMBA3_MODULE('vfs_glusterfs',
+ subsystem='vfs',
+ source=VFS_GLUSTERFS_SRC,
+ deps='samba-util gfapi',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_glusterfs'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs'),
+ allow_undefined_symbols=False)