diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-06-09 04:00:42 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-09 07:41:39 -0700 |
commit | d213487802f0aa62c46eb18eeb75bd5b65434dbc (patch) | |
tree | 993b6889933a42ce9452a673d114f4103b73f078 /xlators/cluster/afr/src/afr-self-heal.h | |
parent | 5462cbb9c483addf5288e44bbc6eae147bd9d442 (diff) |
cluster/afr: lookup should set the read-child based on pending xattrs
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2840 (files not getting self-healed when the first child goes down)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2840
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal.h')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal.h b/xlators/cluster/afr/src/afr-self-heal.h index b10ae3fc0..f8f83a017 100644 --- a/xlators/cluster/afr/src/afr-self-heal.h +++ b/xlators/cluster/afr/src/afr-self-heal.h @@ -45,8 +45,9 @@ afr_self_heal_data (call_frame_t *frame, xlator_t *this); int afr_self_heal_metadata (call_frame_t *frame, xlator_t *this); -int -afr_self_heal_get_source (xlator_t *this, afr_local_t *local, dict_t **xattr); +void +afr_self_heal_find_sources (xlator_t *this, afr_local_t *local, dict_t **xattr, + afr_transaction_type transaction_type); int afr_self_heal (call_frame_t *frame, xlator_t *this); |