diff options
author | Anand Avati <avati@redhat.com> | 2013-11-27 05:09:57 -0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-12-04 00:35:23 -0800 |
commit | c23f35f7ad28b03b3ce5a530c7453bc9f5b7bc05 (patch) | |
tree | 281e826aa60a4843ccd1a5d9dc4a6a605eaf54a5 /libglusterfs | |
parent | 07c8960d0c744709492148df71540e57f96d52e9 (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/6414
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions