axboe / fio

Flexible I/O Tester

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FR: Export headers for ioengines

vt-alt opened this issue · comments

Description of the new feature
It seems that there is interest in building external engines for fio: https://git.yourcmc.ru/vitalif/vitastor/src/branch/master/src files fio_*.cpp.

But now it's kind of complicated to compile engine that is requiring full driver's source for fio which requires a lot of private headers too. (Now they compile copying fio source over their driver source) There engines could benefit from ioengine and callback definitions without full fio sources.

Maybe you could create headers just for ioengines?

I'd personally be fine taking a PR that cleans up that bit, but I have no interest in working on it myself. If external engines want their life to be easier, then it's really on them to make that happen. The primary engines are the ones that ship with fio itself, those are the ones I care about the most.