summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal.h
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2016-05-10 12:13:18 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-05-25 11:52:44 -0700
commitf8f16595d8dd8c8a869630bb77b7fd1b42b97e08 (patch)
tree8f8d7ff3739a16155331f0411501f94d8849513d /xlators/cluster/afr/src/afr-self-heal.h
parentfb57ac1acb228301edb98f2fe7cf93471363eb4a (diff)
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@redhat.com> Reviewed-on: http://review.gluster.org/14355 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal.h')
0 files changed, 0 insertions, 0 deletions