From 0673af0f0c7ba64cce6b030b9194b4d35a357cd4 Mon Sep 17 00:00:00 2001 From: Oleksandr Natalenko Date: Tue, 17 May 2016 16:45:44 +0300 Subject: glusterfsd/main: Add ability to set oom_score_adj Give the administrator a possibility to set oom_score_adj for glusterfs process. Applies to Linux only. This is a backport of cb8f5e01f639cb6e8715b33bb725210cb0493887. Change-Id: Iff13c2f4cb28457871c6ebeff6130bce4a8bf543 BUG: 1341697 Signed-off-by: Oleksandr Natalenko Reviewed-on: http://review.gluster.org/14399 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-on: http://review.gluster.org/14605 Reviewed-by: Kaleb KEITHLEY Reviewed-by: Vijay Bellur --- libglusterfs/src/glusterfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 99e3b2c5aea..d5fde68d76a 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -340,6 +340,7 @@ struct _cmd_args { int acl; int selinux; int capability; + char *oom_score_adj; int enable_ino32; int worm; int mac_compat; -- cgit