diff options
author | Csaba Henk <csaba@gluster.com> | 2010-07-08 05:44:05 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-08 05:24:50 -0700 |
commit | f605883c4fe99428c560a18a1051693f7aadf84e (patch) | |
tree | 21ee55116f9ec7426fc9084c4f566e56e5cea230 /libglusterfs/src/glusterfs.h | |
parent | 2233d7d3c54bf2fc7dc291ae19d8516b44f6e6af (diff) |
fix up option handling
After 79241696, the following anomalies came up:
- --mac-compat and --read-only was rejected originally
on server side, 79241696 cancelled this check
- direct I/O option handling was interfered by 79241696
- --mac-compat had no effect on Linux and does not compile on Mac
Restore original behaviors.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 48bb0ff4df6..5b9f375e6d3 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -201,6 +201,10 @@ struct _xlator_cmdline_option { typedef struct _xlator_cmdline_option xlator_cmdline_option_t; +#define GF_OPTION_ENABLE _gf_true +#define GF_OPTION_DISABLE _gf_false +#define GF_OPTION_DEFERRED 2 + struct _cmd_args { /* basic options */ char *volfile_server; @@ -222,7 +226,7 @@ struct _cmd_args { struct list_head xlator_options; /* list of xlator_option_t */ /* fuse options */ - int fuse_direct_io_mode_flag; + int fuse_direct_io_mode; int volfile_check; double fuse_entry_timeout; double fuse_attribute_timeout; |