diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-12-02 00:34:09 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-12-03 10:03:35 -0800 |
commit | 574d938adcfe74f912fb2de8f77fc7a9d18c689b (patch) | |
tree | 4eed10a0eecc67747f5f7d6253919cb14114942d /xlators/mount/fuse/utils | |
parent | ae6e73f4d2a9fba6ccef42d49d70d8bbd7cba84a (diff) |
mount.glusterfs: use option --direct-io-mode instead of --disable-direct-io-mode
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2173 (enabling/disabling direct-io mode is not possible when glusterfs is mounted using mount command)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2173
Diffstat (limited to 'xlators/mount/fuse/utils')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 2 |
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 3b8780ffe..d14c30c80 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -82,7 +82,7 @@ start_glusterfs () fi if [ -n "$direct_io_mode" ]; then - cmd_line=$(echo "$cmd_line --disable-direct-io-mode"); + cmd_line=$(echo "$cmd_line --direct-io-mode=$direct_io_mode"); fi if [ -n "$volume_name" ]; then |