summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-04-20 23:46:05 +0000
committerAnand Avati <avati@gluster.com>2011-05-11 19:18:20 -0700
commitafad4e2d64c6bb01ff5dceb29b20ebcc02c1747b (patch)
treec1d67af56dea50813e902f1be4c1086293b487ea /xlators/cluster/stripe/src/stripe.h
parentef3d2a48f480d29c2087a5562c73681530f2c727 (diff)
cluster/stripe: make sure gfid is checked with valid data
earlier logic of determining if different subvolumes have different gfid for same file had a flaw. It could have checked with a empty gfid field in case a reply comes from other subvolumes before first subvolume Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2773 ([glusterfs-3.2.0qa12]: stripe lookup says gfid different) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2773
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.h')
-rw-r--r--xlators/cluster/stripe/src/stripe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h
index 2d7b92dd5d1..6934244a7a6 100644
--- a/xlators/cluster/stripe/src/stripe.h
+++ b/xlators/cluster/stripe/src/stripe.h
@@ -181,6 +181,7 @@ struct stripe_local {
struct iobref *iobref;
gf_dirent_t entries;
dict_t *xattr;
+ uuid_t ia_gfid;
};
typedef struct stripe_local stripe_local_t;