[Gluster-devel] glusterfs_open() glusterfs_fstat() bug?

Shehjar Tikoo shehjart at zresearch.com
Thu Mar 26 15:38:51 UTC 2009


Hi

Thanks for the report. The attached patch should fix this problem
for rc7. The test program, glfs.c, works fine for me with this
patch applied while using the volfiles supplied. Could you please
confirm if this works for your setup?

Thanks
Shehjar

Serial Thrilla wrote:
> Hey all, attached are the code and output of server and client.
> 
> *Please be aware that the server and client run on the same machine*
> 
> glusterfs_open() will return a file descriptor but glusterfs_fstat()
>  returns -1 for that descriptor.
> 
> Is it normal for the file descriptor to change on each call to 
> glusterfs_open() despite the same parameters?
> 
> Also, I was having issues with glusterfs_readdir() but that wasn't 
> working either so I suspect there's an issue with the descriptor.
> 
> Please let me know if you need any more info.
> 
> Attn core developers: Please let me know if you would like access to 
> my dev box and I'll be happy to provide it.
> 
> Thanks Rob
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________ Gluster-devel mailing
>  list Gluster-devel at nongnu.org 
> http://lists.nongnu.org/mailman/listinfo/gluster-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc7-fstat-fix.diff
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090326/b21b240c/attachment-0003.bin>


More information about the Gluster-devel mailing list