Re: [PATCH 2/2] vfs_glusterfs: Samba VFS module for glusterfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 24, 2013, at 2:46 AM, Amar Tumballi <amarts@xxxxxxxxxx> wrote:

> On 04/24/2013 01:58 PM, Anand Avati wrote:
>> 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.
>> 
>> Signed-off-by: Anand Avati <avati@xxxxxxxxxx>
>> ---
>>  source3/Makefile.in             |    5 +
>>  source3/configure.in            |    9 +
>>  source3/modules/vfs_glusterfs.c | 1186 +++++++++++++++++++++++++++++++++++++++
>>  source3/modules/wscript_build   |    9 +
>>  source3/wscript                 |    6 +
>>  5 files changed, 1215 insertions(+), 0 deletions(-)
>>  create mode 100644 source3/modules/vfs_glusterfs.c
>> 
> 
> an idea of how to write smb.conf section, which would use glusterfs's vfs plugin would help me to test and verify the patch. Can you add a example section to examples/smb.conf.default file as comment?
> 
> Regards,
> Amar


Like this:

--snip--

[export_name]
vfs objects = glusterfs
glusterfs:volfile_server = MOUNT-SERVER # defaults to localhost
glusterfs:volume = VOLUME-NAME
path = / # specifying a path will export that subdirectory in the volume instead

--snip--

Note that you will need to install both glusterfs and glusterfs (with these 2 patches) from git.

Avati




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux