summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-05-06 08:59:21 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-05-07 12:52:33 +0530
commit542d9ed6c1758df85fc0e252952cfb80669f4a70 (patch)
treeaf04d3c1fed17e0c84bc08e7759e2c9f888a3a5f
parent92a84a43e057ce2448c235d3bf66a0b694338d65 (diff)
fix in mount.glusterfs for proper direct io mode option.
fixes the bug which causes GlusterFS not to have valid 'direct-io' option through mount command or /etc/fstab entries. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index 3f9778c65..477bfceb0 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -75,7 +75,7 @@ start_glusterfs ()
fi
if [ -n "$direct_io_mode" ]; then
- cmd_line=$(echo "$cmd_line --direct-io-mode=$direct_io_mode");
+ cmd_line=$(echo "$cmd_line --disable-direct-io-mode");
fi
if [ -z "$volfile_loc" ]; then