diff options
author | Venky Shankar <venky@gluster.com> | 2011-07-01 00:18:53 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-12 05:37:51 -0700 |
commit | 4c55f76d6a4d13ec1ed3cffd31ff4acc3d3122f0 (patch) | |
tree | bdc9a5522e30adee821e53f2bb5613e7296aa95d /xlators/cluster/afr/src/afr.h | |
parent | 1a82b4539b69390dfb1a158c420385c7ad5d999f (diff) |
afr/stripe: collect pathinfo xattrs from all childs
Signed-off-by: Venky Shankar <venky@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 3046 (getxattr for afr should returns realpath from all childs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3046
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 973e8b58fed..abfaaac0e7b 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -33,6 +33,7 @@ #include "libxlator.h" #define AFR_XATTR_PREFIX "trusted.afr" +#define AFR_PATHINFO_HEADER "REPLICATE:" struct _pump_private; @@ -395,6 +396,7 @@ typedef struct _afr_local { struct { char *name; int last_tried; + long pathinfo_len; } getxattr; struct { |