X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengines.c;h=56a718c6cfea2f9cd26738560d76036d5a8385a1;hp=a71357c67ddce9002b97f5d1afa4749a1e49100d;hb=da51c0505c753f64ad5f65808377b8f67b445828;hpb=5f350952eff89948bfbf1eb6ac4d3d08a9109581;ds=sidebyside diff --git a/ioengines.c b/ioengines.c index a71357c6..56a718c6 100644 --- 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());