[Bugs] [Bug 1336328] [FEAT] jbr: Improve code modularity
bugzilla at redhat.com
bugzilla at redhat.com
Wed May 25 18:52:48 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1336328
--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14355 committed in master by Jeff Darcy
(jdarcy at redhat.com)
------
commit f8f16595d8dd8c8a869630bb77b7fd1b42b97e08
Author: Avra Sengupta <asengupt at redhat.com>
Date: Tue May 10 12:13:18 2016 +0530
jbr: Making fop functions more modular to reuse more code
Putting bigger chunks of re-usable code like leader checks
and init into functions thereby reducing the size of the
'fop' call.
Introduced 'perform_local_op' in the 'fop' call, where
regular functions as of now just call dispatch, but fops
like 'lk' can do their fop specific operations.
Introduced selective_generate to allow certain functions
for a particular fop to be generated. The rest of the
functions can be customised and added in jbr.c
Change-Id: I3754ed68983e763329e14a2faef911428e36e4f0
BUG: 1336328
Signed-off-by: Avra Sengupta <asengupt at redhat.com>
Reviewed-on: http://review.gluster.org/14355
Smoke: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy at redhat.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=Aq3It0fXZl&a=cc_unsubscribe
More information about the Bugs
mailing list