#bindings #api #fio #io #engine #ioengine

sys fio-ioengine-sys

FFI bindings to fio's ioengine API

1 unstable release

0.1.0 May 9, 2021

#2 in #fio

25 downloads per month
Used in fio-ioengine

GPL-2.0-only

2MB
69K SLoC

C 64K SLoC // 0.1% comments Python 3.5K SLoC // 0.2% comments Batch 288 SLoC // 0.0% comments Happy 224 SLoC Shell 135 SLoC // 0.2% comments Rust 99 SLoC

fio-ioengine-sys

Rust bindings to fio's ioengine API. This enables writing custom I/O engine plugins in Rust. For an example of how to use it, refer to the hello-null which is a near 1-1 translation of fio's null I/O engine. There is also an example of how to debug an I/O engine in VSCode using launch.json. This is generally a bad practice to checkin editor specific configuration files, but this has been done to provide a good example of the correct usage.

Dependencies