diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-03-02 08:09:41 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-05 18:32:27 -0800 |
commit | 8fa36bc7a11968086e31ac32b9a24de07dd50d15 (patch) | |
tree | 0b6c15f4259083e74e432dc0d8f52ea6900d7042 /xlators/cluster/ec/src/ec-data.h | |
parent | 1a2c1e9bf8d711d821fbd166ed6d7f7d9bcce69d (diff) |
cluster/ec: Allow heal on name less loc
loc->parent may not always be populated. Even in those cases,
self-heal should happen if it can be completed using nameless loc.
Change-Id: I8871fc811bec8b881ae7fb09dcd202c6693b9877
BUG: 1177601
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9717
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-data.h')
-rw-r--r-- | xlators/cluster/ec/src/ec-data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-data.h b/xlators/cluster/ec/src/ec-data.h index b17f197837b..ac59a6b2e14 100644 --- a/xlators/cluster/ec/src/ec-data.h +++ b/xlators/cluster/ec/src/ec-data.h @@ -271,6 +271,7 @@ struct _ec_heal fd_t *fd; int32_t partial; int32_t done; + gf_boolean_t nameheal; uintptr_t available; uintptr_t good; uintptr_t bad; |