summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2015-07-13 11:59:33 +0530
committerVijay Bellur <vbellur@redhat.com>2015-07-14 02:05:19 -0700
commitd51ddfe8f8839ccb419eb2d8a7cf024d3f5fdeeb (patch)
tree2abec0f07334d1944877cd05d22b3f5f59bb8810
parent34e65c4b3aac3cbe80ec336c367b78b01376a7a3 (diff)
downloadglusterfs-d51ddfe8f8839ccb419eb2d8a7cf024d3f5fdeeb.tar.gz
glusterfs-d51ddfe8f8839ccb419eb2d8a7cf024d3f5fdeeb.tar.xz
glusterfs-d51ddfe8f8839ccb419eb2d8a7cf024d3f5fdeeb.zip
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 <vshankar@redhat.com> Reviewed-on: http://review.gluster.org/11641 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/features/bit-rot/src/bitd/Makefile.am2
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 154cdfba67..f06cf9eeaa 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 =