Re: [Gluster-devel] Behaviour of glfs_fini() affecting QEMU

2014-04-20 Thread Deepak Shetty
un, Apr 20, 2014 at 11:57 PM, Deepak Shetty wrote: > This also tells us that the gfapi based validation/QE testcases needs to > take this scenario in to account > so that in future this can be caught sooner :) > > Bharata, > Does the existing QEMU testcase for gfapi cover this ?

Re: [Gluster-devel] Behaviour of glfs_fini() affecting QEMU

2014-04-20 Thread Deepak Shetty
t; cleanup incase of init not done or rather modify "glfs_fini" to handle this > special case as well which is better approach IMO as it wouldn't involve > any changes in the applications using libgfapi. > > Thanks, > Soumya > > > - Original Message - &g

Re: [Gluster-devel] Behaviour of glfs_fini() affecting QEMU

2014-04-17 Thread Deepak Shetty
On Thu, Apr 17, 2014 at 6:58 PM, Bharata B Rao wrote: > Hi, > > In QEMU, we initialize gfapi in the following manner: > > > glfs = glfs_new(); > if (!glfs) >goto out; > if (glfs_set_volfile_server() < 0) >goto out; > if (glfs_set_logging() < 0) >goto out; > if (glf

[Gluster-devel] Need for -o remount support for FUSE mount

2014-04-09 Thread Deepak Shetty
Hi List, As i understand, currently we don't support -o remount for glusterfs FUSE mounts. It would be good to add this support and I wanted to describe an openstack cinder usecase that will benefit from it. I am sure in general having -o remount (with whatever options we can support) is benefic

Re: [Gluster-devel] Incorrect exit code from mount.glusterfs

2014-04-08 Thread Deepak Shetty
On Tue, Apr 8, 2014 at 4:20 PM, Niels de Vos wrote: > On Tue, Apr 08, 2014 at 03:50:42PM +0530, Deepak Shetty wrote: > > Hi All, > >I am wondering if this I am the only one seeing this or there are enuf > > reasons why mount.glusterfs returns 0 (which means success) as

[Gluster-devel] Incorrect exit code from mount.glusterfs

2014-04-08 Thread Deepak Shetty
Hi All, I am wondering if this I am the only one seeing this or there are enuf reasons why mount.glusterfs returns 0 (which means success) as the exit code for error cases ? Bcos of this cinder (openstack service) code is misled as it thinks mounting glusterfs volume on already mounted volume is

Re: [Gluster-devel] [Gluster-users] Glusterfs Pocket Reference Guide

2014-01-08 Thread Deepak Shetty
Looks good, you might want to add the pre-req gluster settings needed for working w/ oVirt usign liggfapi More details @ http://wiki.ovirt.org/Features/GlusterFS_Storage_Domain (see pre-req section) On Thu, Jan 9, 2014 at 9:47 AM, Paul Cuzner wrote: > > Hi fellow gluster'ers! > > I'm putting t