diff options
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index 0e935330335..2a251e346c2 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.h +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h @@ -44,6 +44,7 @@ struct sp_cache { unsigned long miss; unsigned long hits; uint32_t ref; + xlator_t *this; }; typedef struct sp_cache sp_cache_t; @@ -77,6 +78,12 @@ struct sp_local { }; typedef struct sp_local sp_local_t; +struct sp_private { + struct mem_pool *mem_pool; + gf_lock_t lock; +}; +typedef struct sp_private sp_private_t; + void sp_local_free (sp_local_t *local); |