class AllocatorFvmMetadata
Defined at line 40 of file ../../src/storage/minfs/allocator/metadata.h
Represents the FVM-related information for the allocator, including
slice usage and a mechanism to grow the allocation pool.
Public Methods
uint32_t UnitsPerSlices (uint32_t slice, uint32_t unit_size)
Defined at line 11 of file ../../src/storage/minfs/allocator/metadata.cc
void AllocatorFvmMetadata ()
Defined at line 42 of file ../../src/storage/minfs/allocator/metadata.h
void AllocatorFvmMetadata (SuperblockManager * superblock, SuperblockAllocatorAccess access)
Defined at line 43 of file ../../src/storage/minfs/allocator/metadata.h
void AllocatorFvmMetadata (AllocatorFvmMetadata && )
Movable, not copyable.
Defined at line 47 of file ../../src/storage/minfs/allocator/metadata.h
uint32_t SlicesToBlocks (uint32_t slices)
uint32_t BlocksToSlices (uint32_t blocks)
NOTE: This helper is only intended to be called for
values of |blocks| which are known to be convertible to slices
without loss. This is checked by a runtime assertion.
Defined at line 20 of file ../../src/storage/minfs/allocator/metadata.cc
AllocatorFvmMetadata & operator= (AllocatorFvmMetadata && )
Defined at line 48 of file ../../src/storage/minfs/allocator/metadata.h
uint32_t DataSlices ()
Defined at line 54 of file ../../src/storage/minfs/allocator/metadata.h
void SetDataSlices (uint32_t slices)
Defined at line 56 of file ../../src/storage/minfs/allocator/metadata.h
uint32_t MetadataSlices ()
Defined at line 60 of file ../../src/storage/minfs/allocator/metadata.h
void SetMetadataSlices (uint32_t slices)
Defined at line 64 of file ../../src/storage/minfs/allocator/metadata.h
uint64_t SliceSize ()
Defined at line 68 of file ../../src/storage/minfs/allocator/metadata.h