[Gluster-devel] can glfs_fini ever succeed?

Anand Avati avati at gluster.org
Wed Oct 30 22:17:54 UTC 2013


This was fixed upstream, and backported to release-3.4 as well. The fix
will be part of 3.4.2.

Avati


On Wed, Oct 30, 2013 at 2:49 PM, Eric Blake <eblake at redhat.com> wrote:

> I'm trying to use glusterfs-api, but ran into some questions on usage
> (currently targetting Fedora 19's glusterfs-api-devel-3.4.1-1.fc19.x86_64).
>
> It looks like glfs_fini() starts with 'ret = -1' and never assigns ret
> to any other value.  This in turn leads to odd error messages; I
> explicitly coded my application to warn about a negative return value,
> but see:
>
> warning : virStorageBackendGlusterClose:52 : shutdown of gluster failed
> with errno 0
>
> which contradicts the docs that say errno will be set on failure.
>
> Is this a bug where I should just ignore the return value as useless?
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20131030/984ae672/attachment-0001.html>


More information about the Gluster-devel mailing list