class BlobfsInspectTree
Defined at line 28 of file ../../src/storage/blobfs/blobfs_inspect_tree.h
Encapsulates the state required to make a filesystem inspect tree for Blobfs. All public methods
and getters are thread-safe.
Public Methods
void ~BlobfsInspectTree ()
Defined at line 31 of file ../../src/storage/blobfs/blobfs_inspect_tree.h
void BlobfsInspectTree ()
Defined at line 41 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc
const inspect::Inspector & inspector ()
The Inspector this object owns.
Defined at line 44 of file ../../src/storage/blobfs/blobfs_inspect_tree.h
fs_inspect::NodeOperations & node_operations ()
Node-level operation trackers.
Defined at line 47 of file ../../src/storage/blobfs/blobfs_inspect_tree.h
void SetInfo (const fs_inspect::InfoData & info)
Set general filesystem information.
Defined at line 51 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc
void UpdateSuperblock (const Superblock & superblock)
Update resource usage values that change when certain fields in the superblock are modified.
Defined at line 57 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc
void UpdateFvmData (const block_client::BlockDevice & device, bool out_of_space)
Update FVM fvm information and record any out of space events.
Defined at line 66 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc
void CalculateFragmentationMetrics (Blobfs & blobfs)
Calls |CalculateFragmentationMetrics| on |blobfs| and atomically updates the Inspect tree.
Defined at line 102 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc
void UpdateCompressionMetrics (const CompressionMetrics & metrics)
Record updated compression statistics under the compression_metrics node.
Defined at line 109 of file ../../src/storage/blobfs/blobfs_inspect_tree.cc