projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/axmap: use a 64-bit type (not size_t) for axmap tests
[fio.git]
/
rate-submit.c
diff --git
a/rate-submit.c
b/rate-submit.c
index 42927ffeaf4125dcefccc8fe964d2bc448197fea..2f02fe2ba8365dea762051e555b1f28651ee45e3 100644
(file)
--- a/
rate-submit.c
+++ b/
rate-submit.c
@@
-5,7
+5,7
@@
*
*/
#include "fio.h"
*
*/
#include "fio.h"
-#include "ioengine.h"
+#include "ioengine
s
.h"
#include "lib/getrusage.h"
#include "rate-submit.h"
#include "lib/getrusage.h"
#include "rate-submit.h"
@@
-98,7
+98,6
@@
static int io_workqueue_init_worker_fn(struct submit_worker *sw)
{
struct thread_data *parent = sw->wq->td;
struct thread_data *td = sw->priv;
{
struct thread_data *parent = sw->wq->td;
struct thread_data *td = sw->priv;
- int fio_unused ret;
memcpy(&td->o, &parent->o, sizeof(td->o));
memcpy(&td->ts, &parent->ts, sizeof(td->ts));
memcpy(&td->o, &parent->o, sizeof(td->o));
memcpy(&td->ts, &parent->ts, sizeof(td->ts));
@@
-116,7
+115,6
@@
static int io_workqueue_init_worker_fn(struct submit_worker *sw)
INIT_FLIST_HEAD(&td->io_hist_list);
INIT_FLIST_HEAD(&td->verify_list);
INIT_FLIST_HEAD(&td->trim_list);
INIT_FLIST_HEAD(&td->io_hist_list);
INIT_FLIST_HEAD(&td->verify_list);
INIT_FLIST_HEAD(&td->trim_list);
- INIT_FLIST_HEAD(&td->next_rand_list);
td->io_hist_tree = RB_ROOT;
td->o.iodepth = 1;
td->io_hist_tree = RB_ROOT;
td->o.iodepth = 1;
@@
-128,7
+126,7
@@
static int io_workqueue_init_worker_fn(struct submit_worker *sw)
clear_io_state(td, 1);
td_set_runstate(td, TD_RUNNING);
clear_io_state(td, 1);
td_set_runstate(td, TD_RUNNING);
- td->flags |= TD_F_CHILD;
+ td->flags |= TD_F_CHILD
| TD_F_NEED_LOCK
;
td->parent = parent;
return 0;
td->parent = parent;
return 0;