From c3bdb1d4c6c4491afdf1ba26bb0d6204270cc058 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 20 Dec 2011 14:54:35 +0530 Subject: glusterd: bring in feature to use syncop for mgmt ops * new sycnop routines added to mgmt program * one should not use 'glusterd_op_begin()', instead can use the synctask framework, 'glusterd_op_begin_synctask()' * currently using for below operations: 'volume start', 'volume rebalance', 'volume quota', 'volume replace-brick' and 'volume add-brick' Change-Id: I0bee76d06790d5c5bb5db15d443b44af0e21f1c0 BUG: 762935 Signed-off-by: Amar Tumballi Reviewed-on: http://review.gluster.com/479 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/syncop.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 8ec4e9e5868..69bd1d770a4 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -113,6 +113,11 @@ struct syncargs { struct iobref *iobref; char *buffer; + /* some more _cbk needs */ + uuid_t uuid; + char *errstr; + dict_t *dict; + /* do not touch */ pthread_mutex_t mutex; char complete; -- cgit