Revert "Support mdraid hierarchies for storage topology detection."

This reverts commit d665a34f30.

The commit was causing requests to panic on some systems
This commit is contained in:
dasha_uwu committed 2026-01-01 01:10:59 +05:00
1 parent 6b4a09fc81
commit 121aa9e39d
4 files changed
+53 -187

No files matched your search

+1 -5
View File
@@ -9,11 +9,7 @@ type Id = usize;
type Mask = u128;
type Masks = [Mask; MASK_BITS];
const MASK_BITS: usize = CORES_MAX;
/// Maximum number of cores we support; for now limited to bits of our mask
/// integral.
pub const CORES_MAX: usize = 128;
const MASK_BITS: usize = 128;
/// The mask of logical cores available to the process (at startup).
static CORES_AVAILABLE: LazyLock<Mask> = LazyLock::new(|| into_mask(query_cores_available()));