From 49ba15d599a8979d1d3df7a39204d52081d8719e Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 20 Aug 2012 23:46:03 +0530 Subject: fuse: make background queue length configurable * also make 'congestion_threshold' an option * make 'congestion_threshold' as 75% of background queue length if not explicitely specified * in glusterfsd.c, moved all the fuse option dictionary setting code to separate function Change-Id: Ie1680eefaed9377720770a09222282321bd4132e Signed-off-by: Amar Tumballi BUG: 845214 Reviewed-on: http://review.gluster.org/3830 Tested-by: Gluster Build System Reviewed-by: Brian Foster Reviewed-by: Anand Avati --- libglusterfs/src/glusterfs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 8fc49d3d2..622651b4c 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -313,7 +313,8 @@ struct _cmd_args { pid_t client_pid; int client_pid_set; unsigned uid_map_root; - + int background_qlen; + int congestion_threshold; /* key args */ char *mount_point; -- cgit