[Bugs] [Bug 1191030] Use rcu to protect concurrent access to data structures in GlusterD
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 18 09:56:17 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1191030
--- Comment #29 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9922 committed in master by Kaushal M
(kaushal at redhat.com)
------
commit 1250003956bc9fe7f030f0541f1c823cb282a07a
Author: Kaushal M <kaushal at redhat.com>
Date: Tue Mar 17 12:06:25 2015 +0530
glusterd: Remove compilation warning
In glusterd_peerinfo_destroy, cast the passed 'strcut rcu_head *'
pointer to 'gd_rcu_head *' before use in caa_container_of() to prevent
the incompatible-pointer compilation warning.
Also, refactor peerinfo->head to peerinfo->rcu_head to reduce confusion
when reading code.
This change was developed on the git branch at [1]. This commit is a
combination of the following commits on the development branch.
aa4a0bc Rename peerinfo->head to peerinfo->rcu_head
c79144b Cast struct rcu_head * to gd_rcu_head * to prevent warning
1d222c3 More head -> rcu_head renames
[1]: https://github.com/kshlm/glusterfs/tree/urcu
BUG: 1191030
Change-Id: I7ede02090413839563ce44fdf6289697b28777e7
Signed-off-by: Kaushal M <kaushal at redhat.com>
Reviewed-on: http://review.gluster.org/9922
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
--
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=FUsMtssFeW&a=cc_unsubscribe
More information about the Bugs
mailing list