diff options
| -rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 494c894ec90..381a61bd927 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -103,6 +103,14 @@ start_glusterfs ()          cmd_line=$(echo "$cmd_line --volume-name=$volume_name");      fi +    if [ -n "$attribute_timeout" ]; then +        cmd_line=$(echo "$cmd_line --attribute-timeout=$attribute_timeout"); +    fi + +    if [ -n "$entry_timeout" ]; then +        cmd_line=$(echo "$cmd_line --entry-timeout=$entry_timeout"); +    fi +      if [ -z "$volfile_loc" ]; then          if  [ -n "$server_ip" ]; then              if [ -n "$server_port" ]; then @@ -293,6 +301,9 @@ main ()                                  volfile_max_fetch_attempts=$value ;;                              "backupvolfile-server")                                  backupvolfile_server=$value ;; +                            "attribute-timeout") +                                attribute_timeout=$value;; +                            "entry-timeout")    entry_timeout=$value;;                              *) echo "unknown option $key (ignored)" ;;                          esac                  esac  | 
