[Gluster-devel] Can't call client volfile glusterfs

plrca2 at gmail.com plrca2 at gmail.com
Fri Aug 21 09:51:32 UTC 2009

This works:
option volume-filename.glusterfs-a /etc/glusterfs/glusterfs-client.vol

This does not:
option volume-filename.glusterfs /etc/glusterfs/glusterfs-client.vol

When I use the second line, I get errors on the client about the config  
file changing.
Any idea what might be causing this? I am using the latest 2.0git as of  
August 10.

Also while looking through the code, I noticed that sometimes you guys use  
dict_get_str() and sometimes you use dict_get() followed up by a  
Is there a preferred/more efficient method or does it not matter? After  
writing this, I see that in the case I am looking at (server_protocol.c  
line 7676), it's a dict_get followed by a gf_string2bool(). Is there a  
reason that dict_get_bool() does not exist? Another thing I noticed is that  
in those same places there are tests to see if the calls fail,
which they can only do in case if a bad config file (right?), but the  
config file is checked for correctness by upon loading. That would make  
those checks unnecessary, correct?

These questions are not meant to be critical; I am new to reading (and  
modifying!) code and am unfamiliar with best-practices.

Thanks in advance for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090821/c52a0312/attachment-0003.html>

More information about the Gluster-devel mailing list