diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-04-06 02:15:40 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-04-08 03:08:35 -0700 |
commit | 9daf76661fcaee2e607b371c91cb7600f51bf678 (patch) | |
tree | 045232c33b55e6be2f4cc8737837b5c967e30c62 /glusterfsd/src/glusterfsd.h | |
parent | 286b913e6335d23796883e729e014b486817f38c (diff) |
fuse: change behavior of direct io mode.
by default disable direct-io only for fds opened with O_RDONLY.
(previously direct io mode was disabled in any case).
Added new command line option to force enabling of direct io mode
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 801 (Direct io-mode support and related changes in caching translators.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=801
Diffstat (limited to 'glusterfsd/src/glusterfsd.h')
-rw-r--r-- | glusterfsd/src/glusterfsd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.h b/glusterfsd/src/glusterfsd.h index 262783070..56b6d4ca1 100644 --- a/glusterfsd/src/glusterfsd.h +++ b/glusterfsd/src/glusterfsd.h @@ -62,12 +62,13 @@ enum argp_option_keys { ARGP_RUN_ID_KEY = 'r', ARGP_DEBUG_KEY = 133, ARGP_DISABLE_DIRECT_IO_MODE_KEY = 134, + ARGP_ENABLE_DIRECT_IO_MODE_KEY = 139, ARGP_ENTRY_TIMEOUT_KEY = 135, ARGP_ATTRIBUTE_TIMEOUT_KEY = 136, ARGP_VOLUME_NAME_KEY = 137, ARGP_XLATOR_OPTION_KEY = 138, #ifdef GF_DARWIN_HOST_OS - ARGP_NON_LOCAL_KEY = 139, + ARGP_NON_LOCAL_KEY = 140, #endif /* DARWIN */ ARGP_VOLFILE_ID_KEY = 143, ARGP_VOLFILE_CHECK_KEY = 144, |