Skip to main content

Module locality

Module locality 

Source
Expand description

Where a dataset physically lives, and what that implies about opening it (2 GB on tmpfs and on hotel-wifi NFS are the same row and a thousandfold apart). Derived from /proc/self/mountinfo, a kernel-generated local read that cannot block on a share that stopped answering.

Structs§

Mounts
The mount table, parsed once; resolving paths against it is string work, so a whole listing needs one read.
Source
Where something lives and what the kernel calls it.

Enums§

Locality
How a dataset is reached, in the terms that predict what opening it costs.

Constants§

NETWORK_FILESYSTEMS
Filesystems whose reads cross a network: grouped by behavior (a read can stall while the far end is unreachable, uninterruptibly on hard NFS), not protocol.

Functions§

object_scheme
The URL scheme of an object-store path, if any: never in the mount table, never walked or measured, only listed from history.