diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-08-23 22:28:42 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-08 01:41:01 -0700 |
commit | 517c1997f5cb1ee7b62cc925f943b33e91e7b974 (patch) | |
tree | 01077d9ef5af6d33cc133dd8c2c5cba72f7eefe9 /xlators/performance/stat-prefetch/src/stat-prefetch.h | |
parent | ebc5d9888dfd7fcc000fac82dcfbad9fb91a9082 (diff) |
performance/stat-prefetch: implement sp_readdir.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index cf6bdd89dd6..4a45261a4d4 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.h +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h @@ -30,7 +30,7 @@ #include "xlator.h" struct sp_cache { - gf_dirent_t entries; /* Head of list of cached dirents. */ + gf_dirent_t entries; /* Head of list of cached dirents */ uint64_t expected_offset; /* Offset where the next read will * happen. */ @@ -39,7 +39,8 @@ struct sp_cache { typedef struct sp_cache sp_cache_t; struct sp_local { - loc_t loc; + loc_t loc; + fd_t *fd; }; typedef struct sp_local sp_local_t; |