Skip to content

ludus::foundation::filesystem::AsyncConfig

Ludus Wiki · API overview · Browse API

Struct

Fixed storage and worker budgets. No accepted request allocates scheduler storage.

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp

#include <ludus/foundation/filesystem/async.hpp>
struct ludus::foundation::filesystem::AsyncConfig final

Fields

MaxRequests

uint32 ludus::foundation::filesystem::AsyncConfig::MaxRequests = 256
Queued + submitted + uncollected completions; range 1..4096.

Related types: uint32

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp

WorkerCount

uint32 ludus::foundation::filesystem::AsyncConfig::WorkerCount = 2
Dedicated blocking I/O workers; range 1..64, separate from job workers.

Related types: uint32

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp

MaxBytes

uint64 ludus::foundation::filesystem::AsyncConfig::MaxBytes = uint64{16} * 1024 * 1024
Sum of full destination lengths until collection; must be nonzero.

Related types: uint64

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp

StarvationNanoseconds

uint64 ludus::foundation::filesystem::AsyncConfig::StarvationNanoseconds =
uint64{5} * 1000 * 1000
After this queue age, oldest-first overrides priority/deadline; nonzero.

Related types: uint64

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp

TraceCapacity

uint32 ludus::foundation::filesystem::AsyncConfig::TraceCapacity = 0
Opt-in terminal trace ring, 0..4096; overflow discards oldest records.

Related types: uint32

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/async.hpp