projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thread_options: kill converted cpu masks
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 7b198b216411b81043e761e4fa444c09dfb5f012..6f85266c2f695432cb405a6bc260f974a2ced2ea 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-101,7
+101,10
@@
enum {
enum {
IO_MODE_INLINE = 0,
enum {
IO_MODE_INLINE = 0,
- IO_MODE_OFFLOAD,
+ IO_MODE_OFFLOAD = 1,
+
+ RATE_PROCESS_LINEAR = 0,
+ RATE_PROCESS_POISSON = 1,
};
/*
};
/*
@@
-126,7
+129,7
@@
struct thread_data {
struct io_log *bw_log;
struct io_log *iops_log;
struct io_log *bw_log;
struct io_log *iops_log;
- struct
tp_data *tp_data
;
+ struct
workqueue log_compress_wq
;
struct thread_data *parent;
struct thread_data *parent;
@@
-536,8
+539,8
@@
extern void td_restore_runstate(struct thread_data *, int);
*/
#define FIO_REAP_TIMEOUT 60
*/
#define FIO_REAP_TIMEOUT 60
-#define TERMINATE_ALL (-1)
-extern void fio_terminate_threads(int);
+#define TERMINATE_ALL (-1
U
)
+extern void fio_terminate_threads(
unsigned
int);
extern void fio_mark_td_terminate(struct thread_data *);
/*
extern void fio_mark_td_terminate(struct thread_data *);
/*
@@
-562,6
+565,10
@@
extern int is_blktrace(const char *, int *);
extern int load_blktrace(struct thread_data *, const char *, int);
#endif
extern int load_blktrace(struct thread_data *, const char *, int);
#endif
+extern int io_queue_event(struct thread_data *td, struct io_u *io_u, int *ret,
+ enum fio_ddir ddir, uint64_t *bytes_issued, int from_verify,
+ struct timeval *comp_time);
+
/*
* Latency target helpers
*/
/*
* Latency target helpers
*/