Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 110 additions & 33 deletions api/unbounded-storage/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions api/unbounded-storage/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ message Config {
// finger selection uses weighted rendezvous while successor/predecessor
// selection remains purely ring-nearest for routing correctness.
optional TopologyWeighting topology_weighting = 11;

// Controls automatic disk selection when disks is empty. Explicit disks are
// authoritative and are not filtered by this policy.
optional DiskDiscoveryCfg disk_discovery = 12;
}

// A precomputed routing table for a single node, produced by a
Expand Down Expand Up @@ -437,3 +441,14 @@ message LoadgenFrontendConfig {
// measured path focused on remote NVMe + RDMA instead of requester-side reuse.
bool skip_local_disk = 11;
}

message DiskDiscoveryCfg {
// Exact /dev paths excluded from automatic disk selection. This deny list
// does not apply to explicitly configured disks.
repeated string denied_paths = 1;

// File-backed disk used when automatic discovery finds no eligible devices.
// The path defaults to /var/lib/unbounded-storage/cache.disk and the size
// defaults to 20 GiB when omitted or partially configured.
optional FileDiskConfig fallback = 2;
}
Loading
Loading