diff options
author | Ashish Pandey <aspandey@redhat.com> | 2015-08-30 21:24:32 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-10-06 09:38:42 -0700 |
commit | 25e581d42e6e064718bb902d8819ed458d333a4d (patch) | |
tree | e0c560a77ffd197a74ed2fc26ce7d34a18693c50 /libglusterfs/src | |
parent | 8eaa67b98aaa02ee0a389fd28304402687d9cfa8 (diff) |
cluster/ec : Mark new entry changelog in entry self-healv3.7.5
Problem :
When a new entry is created dirty mark xattrs are not
created this will need full heal to be performed, even
when there are partial failures.
Solution :
Marks new entry changelog in self-heal.
PS: Also fixed erasing of dirty markers when no data heal
is required.
BUG: 1258313
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Change-Id: I156e3d3201afa77efe118e1aaace1d91c90a9613
Reviewed-on: http://review.gluster.org/12306
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/cluster-syncop.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libglusterfs/src/cluster-syncop.h b/libglusterfs/src/cluster-syncop.h index a681951c27d..799576c3c52 100644 --- a/libglusterfs/src/cluster-syncop.h +++ b/libglusterfs/src/cluster-syncop.h @@ -128,6 +128,12 @@ cluster_fxattrop (xlator_t **subvols, unsigned char *on, int numsubvols, gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata); int32_t +cluster_xattrop (xlator_t **subvols, unsigned char *on, int numsubvols, + default_args_cbk_t *replies, unsigned char *output, + call_frame_t *frame, xlator_t *this, loc_t *loc, + gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata); + +int32_t cluster_fstat (xlator_t **subvols, unsigned char *on, int numsubvols, default_args_cbk_t *replies, unsigned char *output, call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata); |