1use crate::allocator::Allocator;
2use crate::backing_store::PartitionStore;
3use crate::metrics::BlobdMetrics;
4use crate::objects::CommittedObjects;
5use crate::objects::IncompleteObjects;
6use crate::pages::Pages;
7use crate::tuples::Tuples;
8use parking_lot::Mutex;
9
10pub(crate) struct Ctx {
11 pub committed_objects: CommittedObjects,
12 pub device: PartitionStore,
13 pub heap_allocator: Mutex<Allocator>,
14 pub incomplete_objects: IncompleteObjects,
15 pub metrics: BlobdMetrics,
16 pub pages: Pages,
17 pub partition_idx: usize,
18 pub tuples: Tuples,
19}