diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-08-25 04:37:44 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-21 04:02:39 -0700 |
commit | 6dbd6185483591fc2f83beee9d2766d1ea0c61a4 (patch) | |
tree | 6b2ace0057bb95267b4bcfb20cdd95dba1e78c5e /glusterfsd/src | |
parent | 7547953e3a7a458d60f8bbfef8e141aff087bfa3 (diff) |
mount/fuse: By default enable direct-io only for fds not openened with O_RDONLY.v3.1.0qa27
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@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')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index c0cb8a0db5f..ab0f323e642 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -165,7 +165,8 @@ static struct argp_option gf_options[] = { {0, 0, 0, 0, "Fuse options:"}, {"direct-io-mode", ARGP_DIRECT_IO_MODE_KEY, "BOOL", OPTION_ARG_OPTIONAL, "Use direct I/O mode in fuse kernel module" - " [default: \"off\" if big writes are supported, else \"on\"]"}, + " [default: \"off\" if big writes are supported, else " + "\"on\" for fds not opened with O_RDONLY]"}, {"entry-timeout", ARGP_ENTRY_TIMEOUT_KEY, "SECONDS", 0, "Set entry timeout to SECONDS in fuse kernel module [default: 1]"}, {"attribute-timeout", ARGP_ATTRIBUTE_TIMEOUT_KEY, "SECONDS", 0, |