#rc #pinned #storage #block

co-core-storage

Reference counting storage pinning core

1 unstable release

0.1.0 Apr 8, 2026

#11 in #pinned


Used in 5 crates (2 directly)

AGPL-3.0-only

54KB
1.5K SLoC

Co Storage Core

Abstract

Stores informations about blocks that actually exists on disk. This COre is usually only used on local device. The main purpose is to store pinning and reference counts.

Structural References

Each block may containes structural refererences. This are references to blocks that will be also referenced wehn the block gets a reference (hierarchy). This greatly reduces the overhead when a root has multiple pins as only the root needs to be reference counted. Each structural refererence children in the set increments the refcount of the children by one.

Dependencies

~14MB
~281K SLoC