diff options
author | shishir gowda <shishirng@gluster.com> | 2012-02-22 15:06:23 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-22 04:16:53 -0800 |
commit | a423cf80d17285de69594401559b7a255281c26c (patch) | |
tree | 7f39342702aba7c13efd40776703100dd574c2e5 /xlators/cluster/stripe/src/stripe.h | |
parent | 064bd0f25a02bd65e32a1c03bfb124340dd60651 (diff) |
cluster/stripe: Readdirp should call lookup on entries
We were calling stat on each entry. Also, the inode ctx
needs to be populated with the stripe_fd_ctx_t.
Signed-off-by: shishir gowda <shishirng@gluster.com>
Change-Id: Ibaafa360f22b551d1609041f13a4339e22c95645
BUG: 795669
Signed-off-by: shishir gowda <shishirng@gluster.com>
Reviewed-on: http://review.gluster.com/2795
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.h')
-rw-r--r-- | xlators/cluster/stripe/src/stripe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.h b/xlators/cluster/stripe/src/stripe.h index 8090e2b46c3..e78583996d2 100644 --- a/xlators/cluster/stripe/src/stripe.h +++ b/xlators/cluster/stripe/src/stripe.h @@ -194,6 +194,7 @@ struct stripe_local { void *value; struct iobref *iobref; gf_dirent_t entries; + gf_dirent_t *dirent; dict_t *xattr; uuid_t ia_gfid; }; |