diff options
author | Mohammed Junaid Ahmed <junaid@gluster.com> | 2011-03-15 05:35:45 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-16 00:04:56 -0700 |
commit | 031eee923d8fd79bc1cf78b7b24fe82e44186848 (patch) | |
tree | a9f16f00850332f427bdab40105c28bec98d5e4e /xlators/mgmt/glusterd/src/glusterd.h | |
parent | c5d93456dcd17ddeb189c3e1390e58f95e30b851 (diff) |
mgmt/glusterd: QUOTA Glusterd related changes.
Signed-off-by: Junaid <junaid@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2473 (Support for volume and directory level quota)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2473
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 49ea0d19e35..a4b6b49b784 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -74,6 +74,7 @@ typedef enum glusterd_op_ { GD_OP_LOG_ROTATE, GD_OP_GSYNC_SET, GD_OP_PROFILE_VOLUME, + GD_OP_QUOTA, GD_OP_MAX, } glusterd_op_t; @@ -453,6 +454,9 @@ glusterd_reset_volume (rpcsvc_request_t *req, dict_t *dict); int32_t glusterd_gsync_set (rpcsvc_request_t *req, dict_t *dict); +int32_t +glusterd_quota (rpcsvc_request_t *req, dict_t *dict); + int glusterd_handle_set_volume (rpcsvc_request_t *req); @@ -463,6 +467,9 @@ int glusterd_handle_gsync_set (rpcsvc_request_t *req); int +glusterd_handle_quota (rpcsvc_request_t *req); + +int glusterd_handle_fsm_log (rpcsvc_request_t *req); int |