summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-11-27 05:09:57 -0800
committerAnand Avati <avati@redhat.com>2013-12-03 22:37:06 -0800
commitae540f8e2732ab1bd0fbeabd4d4f5c6f2f417914 (patch)
treeb4a311326e9b782cb87c23bb62630dc8a9d91b57 /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parent8e21e00fc662abb4f6556d9a258fa9ec57a20ed0 (diff)
glusterd: submit RPC requests without holding big lock
If the endpoint of an RPC is not connected, the callback is called synchronously within rpc_clnt_submit(). Since callbacks typically hold the big lock, give up the big lock before calling rpc_clnt_submit and acquire it freshly after the call. Change-Id: Id89d8dd86c1a4012739ef4af7ea0935492b1a02b BUG: 1037849 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/6413 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@gmail.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
0 files changed, 0 insertions, 0 deletions