Hermes
0.9.5-beta
Hierarchical Distributed I/O Buffering System
|
#include <hermes_types.h>
Public Attributes | |
struct { | |
u32 node_id | |
u16 device_id | |
u16 index | |
} | bits |
u64 | as_int |
A TargetID uniquely identifies a buffering target within the system.
u32 hermes::TargetID::node_id |
The ID of the node in charge of this target.
u16 hermes::TargetID::device_id |
The ID of the virtual device that backs this target. It is an index into the Device array starting at BufferPool::devices_offset (on the node with ID node_id).
u16 hermes::TargetID::index |
The index into the Target array starting at BufferPool::targets_offset (on the node with ID node_id).
struct { ... } hermes::TargetID::bits |
The Target ID as bitfield