From f288faff1ddfbcaff9b37740ee7bb61c91166b66 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 13 Jul 2015 11:59:33 +0530 Subject: [PATCH 241/244] features/bitrot: throttle signer Backport of http://review.gluster.org/11641/ 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: 1242585 Change-Id: I063e41d4c7bcddd7a940cc175e89536cd4fe2804 Signed-off-by: Venky Shankar Reviewed-on: https://code.engineering.redhat.com/gerrit/52934 Reviewed-by: Raghavendra Bhat Tested-by: Raghavendra Bhat --- xlators/features/bit-rot/src/bitd/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xlators/features/bit-rot/src/bitd/Makefile.am b/xlators/features/bit-rot/src/bitd/Makefile.am index 154cdfb..f06cf9e 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 = -- 1.7.1