projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/io_uring: use the get_offset() code to retrieve pass-through offset
[fio.git]
/
blktrace.c
diff --git
a/blktrace.c
b/blktrace.c
index 00e5f9a9b7d2b621b80bc50008b1b8f391f6ee76..ef9ce6bffd8686e1e5f5e7bf4f00828490495c2c 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-5,6
+5,7
@@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <sys/sysmacros.h>
#include "flist.h"
#include "fio.h"
#include "flist.h"
#include "fio.h"
@@
-545,7
+546,8
@@
bool read_blktrace(struct thread_data* td)
td->o.max_bs[DDIR_TRIM] = max(td->o.max_bs[DDIR_TRIM], rw_bs[DDIR_TRIM]);
io_u_quiesce(td);
free_io_mem(td);
td->o.max_bs[DDIR_TRIM] = max(td->o.max_bs[DDIR_TRIM], rw_bs[DDIR_TRIM]);
io_u_quiesce(td);
free_io_mem(td);
- init_io_u_buffers(td);
+ if (init_io_u_buffers(td))
+ return false;
}
return true;
}
}
return true;
}