projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Add skeleton external io engine
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index a71357c67ddce9002b97f5d1afa4749a1e49100d..56a718c6cfea2f9cd26738560d76036d5a8385a1 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-98,6
+98,10
@@
static struct ioengine_ops *dlopen_ioengine(struct thread_data *td,
return NULL;
}
+ /*
+ * Unlike the included modules, external engines should have a
+ * non-static ioengine structure that we can reference.
+ */
ops = dlsym(dlhandle, "ioengine");
if (!ops) {
td_vmsg(td, -1, dlerror());