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>
This commit is contained in:
parent
92a84a43e0
commit
542d9ed6c1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user