From d51ddfe8f8839ccb419eb2d8a7cf024d3f5fdeeb Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 13 Jul 2015 11:59:33 +0530 Subject: features/bitrot: throttle signer Pass -DDBR_RATE_LIMIT_SIGNER CFLAGS to enable fixed value throttling based on TBF to rate limit signer. The following messags is dumped in bitd log file that this change introduces. [ [Rate Limit Info] "tokens/sec (rate): 131072, maxlimit: 524288" ] Bug: 1242809 Change-Id: I063e41d4c7bcddd7a940cc175e89536cd4fe2804 Signed-off-by: Venky Shankar Reviewed-on: http://review.gluster.org/11641 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- xlators/features/bit-rot/src/bitd/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/features/bit-rot/src/bitd/Makefile.am b/xlators/features/bit-rot/src/bitd/Makefile.am index 154cdfba674..f06cf9eeaaa 100644 --- a/xlators/features/bit-rot/src/bitd/Makefile.am +++ b/xlators/features/bit-rot/src/bitd/Makefile.am @@ -15,6 +15,6 @@ bit_rot_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ noinst_HEADERS = bit-rot.h bit-rot-scrub.h bit-rot-tbf.h bit-rot-bitd-messages.h bit-rot-ssm.h -AM_CFLAGS = -Wall $(GF_CFLAGS) +AM_CFLAGS = -Wall -DBR_RATE_LIMIT_SIGNER $(GF_CFLAGS) CLEANFILES = -- cgit