-/* External engines are specified by "external:name.o") */
-static const char *get_engine_name(const char *str)
-{
- char *p = strstr(str, ":");
-
- if (!p)
- return str;
-
- p++;
- strip_blank_front(&p);
- strip_blank_end(p);
- return p;
-}
-
-static int str_ioengine_cb(void *data, const char *str)
-{
- struct thread_data *td = data;
- const char *name = get_engine_name(str);
-
- td->io_ops = load_ioengine(td, name);
- if (td->io_ops)
- return 0;
-
- return 1;
-}
-