diff options
author | Csaba Henk <csaba@gluster.com> | 2010-07-08 05:46:50 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-08 05:24:57 -0700 |
commit | c35f6bf8f735eaf35c950d7b7789f6b64ba2c8c0 (patch) | |
tree | 71591025bfcdfe44e2a8fd7b91068d30893e6267 /glusterfsd/src/glusterfsd-common.h | |
parent | 6779d91ea8ee8bb8f337213b0be2d31e4fd62619 (diff) |
minor option handling refactorizations
- clean up ZR_* internal option defines
- make argument order of glusterfs_graph_activate() aligned with
other graph ops
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 'glusterfsd/src/glusterfsd-common.h')
-rw-r--r-- | glusterfsd/src/glusterfsd-common.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-common.h b/glusterfsd/src/glusterfsd-common.h new file mode 100644 index 000000000..47f947210 --- /dev/null +++ b/glusterfsd/src/glusterfsd-common.h @@ -0,0 +1,30 @@ +/* + Copyright (c) 2006-2010 Gluster, Inc. <http://www.gluster.com> + This file is part of GlusterFS. + + GlusterFS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, + or (at your option) any later version. + + GlusterFS is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +*/ + +#ifndef __GLUSTERFSD_COMMON_H__ +#define __GLUSTERFSD_COMMON_H__ + +#define ZR_MOUNTPOINT_OPT "mountpoint" +#define ZR_ATTR_TIMEOUT_OPT "attribute-timeout" +#define ZR_ENTRY_TIMEOUT_OPT "entry-timeout" +#define ZR_DIRECT_IO_OPT "direct-io-mode" +#define ZR_STRICT_VOLFILE_CHECK "strict-volfile-check" +#define ZR_DUMP_FUSE "dump-fuse" + +#endif |