diff options
author | Avra Sengupta <asengupt@redhat.com> | 2014-03-01 09:04:16 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-07 04:29:33 -0800 |
commit | 44428343529bec83fab0e3519396471fc8f651b4 (patch) | |
tree | 3f1e2495cd03b122a558e16e3512ec319992d4ac /xlators/mgmt/glusterd/src/glusterd-snapshot.c | |
parent | 2e58513506919899115935c2ca6b2359fdeff7b8 (diff) |
glusterd/mgmt_v3 locks: Generalization of the volume wide locks.
Renaming volume locks as mgmt_v3 locks
Change-Id: I2a324e2b8e1772d7b165fe96ce8ba5b902c2ed9a
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/7187
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-snapshot.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-snapshot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c index 116dd5153..05ae2fc12 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c @@ -2149,7 +2149,7 @@ glusterd_get_cg_volume_names_lk (dict_t *dict, glusterd_snap_cg_t *cg) } /* Set volume name of all the volumes present in CG in dict so that - * Jarvis can use this to acquire volume locks on all the volume + * Jarvis can use this to acquire mgmt_v3 locks on all the volume * present in the CG. */ for (i = 0; i < cg->volume_count; ++i) { @@ -3109,7 +3109,7 @@ glusterd_handle_snapshot_remove (rpcsvc_request_t *req, glusterd_op_t op, goto out; } - /* Set volnames in the dict to get volume lock */ + /* Set volnames in the dict to get mgmt_v3 lock */ list_for_each_entry_safe (snap_vol, tmp, &snap->volumes, vol_list) { volcount++; volname = gf_strdup (snap_vol->parent_volname); |