ublk-cpp v0.0
Loading...
Searching...
No Matches
io.hpp File Reference

Public API for running I/O on a single ublk queue. More...

Go to the source code of this file.

Namespaces

namespace  ublk
 The main namespace of the ublk-cpp library.

Functions

template<IoHandler F>
auto ublk::run_dev (int ublkc_fd, uint16_t q_id, const ublksrv_ctrl_dev_info *info, F &handler) noexcept
 Run the I/O loop of a single ublk queue until it stops.

Detailed Description

Public API for running I/O on a single ublk queue.

Definition in file io.hpp.