diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2013-12-23 14:07:57 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-23 06:58:18 -0800 |
commit | 8c4e79c446fdfea00c1589a625ba1f1a63fdecc5 (patch) | |
tree | 04234523677493f7271bad0536d2e0b908549ef9 /libgfchangelog.pc.in | |
parent | 3ea6954c120c968ec3b16916cf4fc304b9b4517a (diff) |
rpc,glusterd: Use rpc_clnt notifyfn to cleanup mydata
Backport of http://review.gluster.org/5512
rpc:
- On a RPC_TRANSPORT_CLEANUP event, rpc_clnt_notify calls the registered
notifyfn with a RPC_CLNT_DESTROY event. The notifyfn should properly
cleanup the saved mydata on this event.
- Break the reconnect chain when an rpc client is disabled. This will
prevent new disconnect events which can lead to crashes.
glusterd:
- Added support for RPC_CLNT_DESTROY in glusterd_brick_rpc_notify
- Use a common glusterd_rpc_clnt_unref() function throught glusterd in
place of rpc_clnt_unref(). This function correctly gives up the
big-lock before performing the unref.
Change-Id: I93230441c5089039643fc9f5632477ef1b695348
BUG: 962619
Signed-off-by: Kaushal M <kaushal@redhat.com>
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/6566
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libgfchangelog.pc.in')
0 files changed, 0 insertions, 0 deletions