diff options
author | Vijay Bellur <vijay@gluster.com> | 2010-08-06 05:25:16 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-06 04:09:03 -0700 |
commit | 453cb4bf0b70c876eb468def34054095cfd66359 (patch) | |
tree | 46593e13f4ceb37a4d13a5f420c300b8860e0aa6 /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 3f6e5e670b7c1e30c64f2f11419947bd8982d51b (diff) |
v2[PATCH BUG:1286] glusterd: Regain volume state upon re-start
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1286 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1286
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 55533c118..31e2a9e50 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -43,7 +43,7 @@ #include "glusterd-sm.h" #include "glusterd-op-sm.h" #include "glusterd-utils.h" -#include "glusterd-ha.h" +#include "glusterd-store.h" #include "cli1.h" static struct list_head gd_op_sm_queue; @@ -690,7 +690,7 @@ glusterd_op_create_volume (gd1_mgmt_stage_op_req *req) } list_add_tail (&volinfo->vol_list, &priv->volumes); - ret = glusterd_ha_create_volume (volinfo); + ret = glusterd_store_create_volume (volinfo); if (ret) goto out; @@ -816,11 +816,11 @@ glusterd_op_add_brick (gd1_mgmt_stage_op_req *req) goto out; } -/* ret = glusterd_ha_update_volume (volinfo); + ret = glusterd_store_update_volume (volinfo); if (ret) goto out; -*/ + out: @@ -938,11 +938,11 @@ glusterd_op_remove_brick (gd1_mgmt_stage_op_req *req) goto out; } -/* ret = glusterd_ha_update_volume (volinfo); + ret = glusterd_store_update_volume (volinfo); if (ret) goto out; -*/ + out: @@ -973,7 +973,7 @@ glusterd_op_delete_volume (gd1_mgmt_stage_op_req *req) if (ret) goto out; - ret = glusterd_ha_delete_volume (volinfo); + ret = glusterd_store_delete_volume (volinfo); if (ret) goto out; |