Expand description
Network Block Device server. Rust owns the fixed newstyle handshake, option haggling and transmission; the handler describes each export once per connection and Rust serves every read from that description. Exports are read-only.
Modules§
- actions
- wire
- NBD constants (the fixed newstyle handshake, options, transmission) and the read-only export a handler describes: a size, data extents, fill extents and error regions; everything else reads as zeroes.
Constants§
- HANDSHAKE_
DEADLINE - The whole handshake, and the rest of any message once its first byte has arrived.
- MAX_
DESCRIPTORS - Block status descriptors in one reply.
- MAX_
OPTIONS - MESSAGE_
DEADLINE