diff options
author | Anand Avati <avati@redhat.com> | 2013-11-27 05:09:57 -0800 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-05 10:05:21 -0800 |
commit | e3873729d820c0c2e63bb3bb878c39d79a16acf5 (patch) | |
tree | 0cd6fd60db6c93e1504e6db69c55627d73d71c93 /libglusterfs/src/daemon.c | |
parent | 550d83889857c1fe2c8eb04b1740a4884db7697d (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/6415
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'libglusterfs/src/daemon.c')
0 files changed, 0 insertions, 0 deletions