mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
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:
1 parent
6b4a09fc81
commit
121aa9e39d
4 files changed
+53
-187
No files matched your search
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user