projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize global and non-static variables
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index c5e2bf13414ebbb58d186bb1cddaaabed2919e05..43f48543ed63db3ab4afdabc9cb9a78dfbfcf515 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-40,7
+40,7
@@
struct thread_data;
#include "stat.h"
#include "flow.h"
#include "stat.h"
#include "flow.h"
-#ifdef
FIO_HAVE
_SOLARISAIO
+#ifdef
CONFIG
_SOLARISAIO
#include <sys/asynch.h>
#endif
#include <sys/asynch.h>
#endif
@@
-159,6
+159,7
@@
struct thread_options {
unsigned int verify_async;
unsigned long long verify_backlog;
unsigned int verify_batch;
unsigned int verify_async;
unsigned long long verify_backlog;
unsigned int verify_batch;
+ unsigned int experimental_verify;
unsigned int use_thread;
unsigned int unlink;
unsigned int do_disk_util;
unsigned int use_thread;
unsigned int unlink;
unsigned int do_disk_util;
@@
-236,6
+237,7
@@
struct thread_options {
unsigned int disable_clat;
unsigned int disable_slat;
unsigned int disable_bw;
unsigned int disable_clat;
unsigned int disable_slat;
unsigned int disable_bw;
+ unsigned int unified_rw_rep;
unsigned int gtod_reduce;
unsigned int gtod_cpu;
unsigned int gtod_offload;
unsigned int gtod_reduce;
unsigned int gtod_cpu;
unsigned int gtod_offload;
@@
-246,7
+248,7
@@
struct thread_options {
unsigned int trim_zero;
unsigned long long trim_backlog;
unsigned int clat_percentiles;
unsigned int trim_zero;
unsigned long long trim_backlog;
unsigned int clat_percentiles;
- unsigned int
overwrite_plist;
+ unsigned int
percentile_precision; /* digits after decimal for percentiles */
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
char *read_iolog_file;
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
char *read_iolog_file;
@@
-566,7
+568,7
@@
enum {
int e = (err); \
(td)->error = e; \
if (!(td)->first_error) \
int e = (err); \
(td)->error = e; \
if (!(td)->first_error) \
- snprintf(td->verror, sizeof(td->verror)
- 1, "file:%s:%d, func=%s, error=%s", __FILE__, __LINE__, (func), (msg));
\
+ snprintf(td->verror, sizeof(td->verror)
, "file:%s:%d, func=%s, error=%s", __FILE__, __LINE__, (func), (msg));
\
} while (0)
} while (0)
@@
-604,7
+606,6
@@
extern int is_backend;
extern int nr_clients;
extern int log_syslog;
extern const char fio_version_string[];
extern int nr_clients;
extern int log_syslog;
extern const char fio_version_string[];
-extern const fio_fp64_t def_percentile_list[FIO_IO_U_LIST_MAX_LEN];
extern struct thread_data *threads;
extern struct thread_data *threads;
@@
-654,8
+655,6
@@
static inline int should_fsync(struct thread_data *td)
{
if (td->last_was_sync)
return 0;
{
if (td->last_was_sync)
return 0;
- if (td->o.odirect)
- return 0;
if (td_write(td) || td_rw(td) || td->o.override_sync)
return 1;
if (td_write(td) || td_rw(td) || td->o.override_sync)
return 1;
@@
-791,7
+790,7
@@
static inline int __should_check_rate(struct thread_data *td,
}
static inline int should_check_rate(struct thread_data *td,
}
static inline int should_check_rate(struct thread_data *td,
- u
nsigned long
*bytes_done)
+ u
int64_t
*bytes_done)
{
int ret = 0;
{
int ret = 0;