[PATCH] Add full command line parameter support
[fio.git] / ioengines.c
index 9b1ad60692e0e7b76bfd3296e9bab64bd566dcd6..6a5073cf87ce06f1f851fed9bdf5815c4638f7cc 100644 (file)
@@ -42,7 +42,7 @@ static int check_engine_ops(struct ioengine_ops *ops)
        return 0;
 }
 
-struct ioengine_ops *load_ioengine(struct thread_data *td, char *name)
+struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name)
 {
        char engine[16], engine_lib[256];
        struct ioengine_ops *ops, *ret;
@@ -111,14 +111,6 @@ int td_io_prep(struct thread_data *td, struct io_u *io_u)
        return 0;
 }
 
-int td_io_sync(struct thread_data *td, struct fio_file *f)
-{
-       if (td->io_ops->sync)
-               return td->io_ops->sync(td, f);
-
-       return 0;
-}
-
 int td_io_getevents(struct thread_data *td, int min, int max,
                    struct timespec *t)
 {