[Bugs] [Bug 1254607] rpc: Address issues with transport object reference and leak
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 19 11:11:13 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1254607
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11953 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com)
------
commit 4ec99ad55f2ad74d67591cda68320c26235a9e12
Author: Soumya Koduri <skoduri at redhat.com>
Date: Thu Aug 6 06:22:38 2015 +0530
rpc-clnt: Check for transport object during rpc connection cleanup
While doing glfs_fini(), all the xlators are first notified of
PARENT_DOWN. protocol-client xlator on receving that notification
does rpc_clnt_disable which disassociates rpc->conn with its
transport object and does socket shutdown. So any further references
to conn->trans should not happen during rpc connection cleanup which
is done mainly as part of epoll event handling of EPOLLERR/EPOLLHUP.
This is a backport of the below fix-
http://review.gluster.org/#/c/11845/
BUG: 1254607
Change-Id: I619ec00fd061f77c9b04dfa6fd139620cb44189b
Signed-off-by: Soumya Koduri <skoduri at redhat.com>
Reviewed-on: http://review.gluster.org/11845
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
Reviewed-on: http://review.gluster.org/11953
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=y9rLWQSr0b&a=cc_unsubscribe
More information about the Bugs
mailing list