diff options
Diffstat (limited to 'xlators/mount')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 0fc0cf4a4e3..6c4cdfed062 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -230,6 +230,10 @@ start_glusterfs () cmd_line=$(echo "$cmd_line --congestion-threshold=$cong_threshold"); fi + if [ -n "$oom_score_adj" ]; then + cmd_line=$(echo "$cmd_line --oom-score-adj=$oom_score_adj"); + fi + if [ -n "$fuse_mountopts" ]; then cmd_line=$(echo "$cmd_line --fuse-mountopts=$fuse_mountopts"); fi @@ -444,6 +448,9 @@ with_options() "congestion-threshold") cong_threshold=$value ;; + "oom-score-adj") + oom_score_adj=$value + ;; "xlator-option") xlator_option=$value ;; |