From 4f8dfaa90bddff3e0d094f292764f1d1690f6ec9 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 4 Sep 2012 16:17:24 +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: https://code.engineering.redhat.com/gerrit/1860 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- 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 153af2410a5..d331a5ee640 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -314,7 +314,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