Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fio_plugin.c:50:25: fatal error: config-host.h: No such file or directory #29

cooljiansir opened this issue Jul 25, 2016 · 2 comments


Copy link

@cooljiansir cooljiansir commented Jul 25, 2016

I followed the introduction spdk/examples/nvme/fio_plugin/README, but meet the following ERROR:

fio_plugin.c:50:25: fatal error: config-host.h: No such file or directory
 #include "config-host.h"
compilation terminated.
make[3]: *** [fio_plugin.o] Error 1
make[2]: *** [fio_plugin] Error 2
make[1]: *** [nvme] Error 2
make: *** [examples] Error 2

This comment has been minimized.

Copy link

@ghost ghost commented Jul 25, 2016

Make sure you have set SPDK's CONFIG_FIO_PLUGIN to the correct location, and verify that the FIO source has been configured and built (config-host.h is generated by the FIO configure script).


This comment has been minimized.

Copy link

@cooljiansir cooljiansir commented Jul 26, 2016

Thanks! It works after running configure script.

@benlwalker benlwalker closed this Jul 29, 2016
ghost pushed a commit that referenced this issue Oct 5, 2017
Fixes github issue #29.

Because of how we handle the blobid and pagenum in blobstore,
it was possible to have blobstore inadvertently open the wrong
blob if open is provided a blobid where the lower 32 bits match
an existing blob but the upper 32 are clear.

Patch does the following:
- removes assert() that caught this on MD load and replace with
an error given that this condition can be induced via the API
- cleanup of pagenum and blobid conversion/handling to make it
clearer how they're related and converted
- new UTs that would have failed w/o the new check in place

Change-Id: I2b49b237922b3b8cfc4df296f5bc20195e41dc41
Signed-off-by: Paul Luse <>
Tested-by: SPDK Automated Test System <>
Reviewed-by: Daniel Verkamp <>
Reviewed-by: Jim Harris <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.