diff options
author | Vijay Bellur <vbellur@redhat.com> | 2015-04-06 12:34:55 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-04-28 21:30:35 -0700 |
commit | b04b957f2f27cf03958b456b3cec097d1e04923c (patch) | |
tree | 311b4c8b93cbf212979d2513c7aa70cb1976d2f7 /extras/peer_add_secret_pub.in | |
parent | a7f848245ae5b0e4bbe363de13ec1676753352c5 (diff) |
rpc: Introduce attribute throttle for rpcsvc_t
This attribute will be used to set/unset throttling for
a rpcsvc_t program subsequently.
Following APIs have been added to get/set throttle.
int
rpcsvc_set_throttle (rpcsvc_t svc, gf_boolean_t value);
gf_boolean_t
rpcsvc_get_throttle (rpcsvc_t svc);
Change-Id: Ica8a9166cef22eb92d81fe68e48d0a5e24a1ef95
BUG: 1212385
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/10267
Tested-by: NetBSD Build System
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'extras/peer_add_secret_pub.in')
0 files changed, 0 insertions, 0 deletions