diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-08-16 02:35:00 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-16 01:48:55 -0700 |
commit | 32041afec462237c44a557ccdc4a32c6e33bad96 (patch) | |
tree | 4b3b0bf0f53a1c899716b64232598d7e088dea41 /xlators/mgmt/glusterd/src/glusterd.h | |
parent | fa71c7ff9d23bff6e597a87c2c58d8b620594856 (diff) |
mgmt/glusterd: Cleanup replace brick.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1303 (Cleanup replace-brick state info)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1303
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 600381243..c0ac17c53 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -142,6 +142,16 @@ enum glusterd_op_ret { #define GLUSTERD_VOLUME_INFO_FILE "info" #define GLUSTERD_BRICK_INFO_DIR "bricks" +/*All definitions related to replace brick */ +#define RB_PUMP_START_CMD "trusted.glusterfs.pump.start" +#define RB_PUMP_PAUSE_CMD "trusted.glusterfs.pump.pause" +#define RB_PUMP_ABORT_CMD "trusted.glusterfs.pump.abort" +#define RB_PUMP_STATUS_CMD "trusted.glusterfs.pump.status" +#define RB_CLIENT_MOUNTPOINT "rb_mount" +#define RB_CLIENTVOL_FILENAME "rb_client.vol" +#define RB_DSTBRICK_PIDFILE "rb_dst_brick.pid" +#define RB_DSTBRICKVOL_FILENAME "rb_dst_brick.vol" + #define GLUSTERD_UUID_LEN 50 typedef ssize_t (*gd_serialize_t) (struct iovec outmsg, void *args); |