From baaa7286ed6b70121efa6a83a8adb3a2f1ec45da Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Fri, 15 Apr 2011 07:05:38 +0000 Subject: cluster/stripe: aggregate xattrs holding quota-size in lookup and getxattr calls. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 2760 (Quota: stripe volume not showing the quota size properly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2760 --- xlators/cluster/stripe/src/stripe.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xlators/cluster/stripe/src/stripe.h') diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h index 73aec6ae054..2d7b92dd5d1 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; -- cgit