projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iolog: don't serialize the writing of all logs
[fio.git]
/
libfio.c
diff --git
a/libfio.c
b/libfio.c
index 8eddab80b345651f11533038963bb03e5bc0ff93..1fd77e40770065f6c6dfcc0b8c7e80600f188b2e 100644
(file)
--- a/
libfio.c
+++ b/
libfio.c
@@
-31,6
+31,7
@@
#include "fio.h"
#include "smalloc.h"
#include "os/os.h"
#include "fio.h"
#include "smalloc.h"
#include "os/os.h"
+#include "filelock.h"
/*
* Just expose an empty list, if the OS does not support disk util stats
/*
* Just expose an empty list, if the OS does not support disk util stats
@@
-265,6
+266,11
@@
int initialize_fio(char *envp[])
sinit();
sinit();
+ if (fio_filelock_init()) {
+ log_err("fio: failed initializing filelock subsys\n");
+ return 1;
+ }
+
/*
* We need locale for number printing, if it isn't set then just
* go with the US format.
/*
* We need locale for number printing, if it isn't set then just
* go with the US format.