diff options
| author | Kotresh HR <khiremat@redhat.com> | 2016-07-01 15:54:07 +0530 |
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2016-07-19 06:14:13 -0700 |
| commit | 2526f9d3ddc3e7f62828ac4289001b22638ae42a (patch) | |
| tree | 7bd7a766098f2ce8d08583647b85c778ccf8505c /xlators/features/bit-rot/src/bitd/bit-rot.h | |
| parent | 74d2aaf51c7ff601e4394cad9f8e23092267af55 (diff) | |
features/bitrot: Move throttling code to libglusterfs
Backport of http://review.gluster.org/14846
Since throttling is a separate feature by itself,
move throttling code to libglusterfs.
Change-Id: If9b99885ceb46e5b1865a4af18b2a2caecf59972
BUG: 1357514
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/14944
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd/bit-rot.h')
| -rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.h b/xlators/features/bit-rot/src/bitd/bit-rot.h index 656936956a2..c6ad494524c 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot.h +++ b/xlators/features/bit-rot/src/bitd/bit-rot.h @@ -26,7 +26,7 @@ #include "changelog.h" #include "timer-wheel.h" -#include "bit-rot-tbf.h" +#include "throttle-tbf.h" #include "bit-rot-ssm.h" #include "bit-rot-common.h" @@ -214,7 +214,7 @@ struct br_private { uint32_t expiry_time; /* objects "wait" time */ - br_tbf_t *tbf; /* token bucket filter */ + tbf_t *tbf; /* token bucket filter */ gf_boolean_t iamscrubber; /* function as a fs scrubber */ |
