projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
An option need not include ->posval[] entries
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index b085cd1e03d6f593c25eaca266cc2f8d066f3ade..0ca23cc0e6b09186b059e8bae86b266d22a6d5de 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-215,6
+215,7
@@
enum fio_ioengine_flags {
FIO_RAWIO = 1 << 1, /* some sort of direct/raw io */
FIO_DISKLESSIO = 1 << 2, /* no disk involved */
FIO_NOEXTEND = 1 << 3, /* engine can't extend file */
FIO_RAWIO = 1 << 1, /* some sort of direct/raw io */
FIO_DISKLESSIO = 1 << 2, /* no disk involved */
FIO_NOEXTEND = 1 << 3, /* engine can't extend file */
+ FIO_NODISKUTIL = 1 << 4, /* diskutil can't handle filename */
};
/*
};
/*
@@
-291,7
+292,7
@@
struct thread_stat {
*/
unsigned int io_u_map[FIO_IO_U_MAP_NR];
unsigned int io_u_lat[FIO_IO_U_LAT_NR];
*/
unsigned int io_u_map[FIO_IO_U_MAP_NR];
unsigned int io_u_lat[FIO_IO_U_LAT_NR];
- unsigned long total_io_u;
+ unsigned long total_io_u
[2]
;
unsigned long long io_bytes[2];
unsigned long runtime[2];
unsigned long long io_bytes[2];
unsigned long runtime[2];
@@
-473,6
+474,13
@@
struct thread_data {
*/
struct timeval timeout_end;
struct itimerval timer;
*/
struct timeval timeout_end;
struct itimerval timer;
+
+ /*
+ * for fileservice, how often to switch to a new file
+ */
+ unsigned int file_service_nr;
+ unsigned int file_service_left;
+ struct fio_file *file_service_file;
};
/*
};
/*
@@
-507,6
+515,7
@@
enum {
extern int exitall_on_terminate;
extern int thread_number;
extern int exitall_on_terminate;
extern int thread_number;
+extern int nr_process, nr_thread;
extern int shm_id;
extern int groupid;
extern int terse_output;
extern int shm_id;
extern int groupid;
extern int terse_output;
@@
-692,6
+701,7
@@
extern void io_u_queued(struct thread_data *, struct io_u *);
extern void io_u_log_error(struct thread_data *, struct io_u *);
extern void io_u_init_timeout(void);
extern void io_u_set_timeout(struct thread_data *);
extern void io_u_log_error(struct thread_data *, struct io_u *);
extern void io_u_init_timeout(void);
extern void io_u_set_timeout(struct thread_data *);
+extern void io_u_mark_depth(struct thread_data *, struct io_u *);
/*
* io engine entry points
/*
* io engine entry points