summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-04-15 07:05:38 +0000
committerAnand Avati <avati@gluster.com>2011-04-15 23:06:40 -0700
commitbaaa7286ed6b70121efa6a83a8adb3a2f1ec45da (patch)
tree79b4ad19d3c793315b077c4935d250366db4f56c /xlators/cluster/stripe/src/stripe.h
parent2ca0f2d3ab4c80ed4d002bcb2ca1425d1db42c78 (diff)
cluster/stripe: aggregate xattrs holding quota-size in lookup and getxattr calls.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2760 (Quota: stripe volume not showing the quota size properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2760
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.h')
-rw-r--r--xlators/cluster/stripe/src/stripe.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h
index 73aec6ae0..2d7b92dd5 100644
--- a/xlators/cluster/stripe/src/stripe.h
+++ b/xlators/cluster/stripe/src/stripe.h
@@ -139,8 +139,8 @@ struct stripe_local {
blkcnt_t postparent_blocks;
struct readv_replies *replies;
- struct statvfs statvfs_buf;
- dir_entry_t *entry;
+ struct statvfs statvfs_buf;
+ dir_entry_t *entry;
int8_t revalidate;
int8_t failed;
@@ -179,7 +179,8 @@ struct stripe_local {
fd_t *fd;
void *value;
struct iobref *iobref;
- gf_dirent_t entries;
+ gf_dirent_t entries;
+ dict_t *xattr;
};
typedef struct stripe_local stripe_local_t;