summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src/stat-prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h
index c290ec3a91b..20b5e4a6fea 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.h
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h
@@ -28,9 +28,11 @@
#include "glusterfs.h"
#include "dict.h"
#include "xlator.h"
+#include "rbthash.h"
+#include "hashfn.h"
struct sp_cache {
- gf_dirent_t entries; /* Head of list of cached dirents */
+ rbthash_table_t *table;
uint64_t expected_offset; /* Offset where the next read will
* happen.
*/