Besides general aesthetic/maintainability goodness, looking up these functions via a dispatch table instead of directly has two very concrete benefits. (1) It enables derivative translators such as NUFA and switch to call their parent's init to ensure proper initialization (see bug924488). (2) It makes it possible to set breakpoints on init functions by name instead of having to look up the file name and line number because "init" and "fini" are ambiguous. Note that using wrapper functions (e.g. dht.c:init calls dht_init which is also callable from nufa.c:init) would also work, but clutters up the code more.
http://review.gluster.org/4709 This also includes dispatch-table entries for reconfigure and notify.
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/