projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: make client operations pluggable
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index be60c5ff64bce2a3b24760bf668ce477ba2a84c5..2ca4fe69efef5c8cd1f02623eb69dfbf0c593967 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-34,6
+34,7
@@
#include "profile.h"
#include "lib/rand.h"
#include "memalign.h"
#include "profile.h"
#include "lib/rand.h"
#include "memalign.h"
+#include "client.h"
#include "server.h"
unsigned long page_mask;
#include "server.h"
unsigned long page_mask;
@@
-105,7
+106,7
@@
int main(int argc, char *argv[], char *envp[])
return 1;
if (nr_clients)
return 1;
if (nr_clients)
- return fio_handle_clients();
+ return fio_handle_clients(
&fio_client_ops
);
else
return fio_backend();
}
else
return fio_backend();
}