diff options
Diffstat (limited to 'libbcachefs/alloc_types.h')
-rw-r--r-- | libbcachefs/alloc_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libbcachefs/alloc_types.h b/libbcachefs/alloc_types.h index 1bf48ef9..ae58d083 100644 --- a/libbcachefs/alloc_types.h +++ b/libbcachefs/alloc_types.h @@ -99,4 +99,11 @@ struct write_point { */ }; +struct alloc_heap_entry { + size_t bucket; + unsigned long key; +}; + +typedef HEAP(struct alloc_heap_entry) alloc_heap; + #endif /* _BCACHE_ALLOC_TYPES_H */ |