projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/zbd: Fix test 2 and 3 result handling
[fio.git]
/
stat.h
diff --git
a/stat.h
b/stat.h
index 5dcaae029cde28f77efbed623683ec271d04fc76..e9551381ce7b7fd10092c195033ff2b911f2aa75 100644
(file)
--- a/
stat.h
+++ b/
stat.h
@@
-211,6
+211,9
@@
struct thread_stat {
uint32_t first_error;
uint64_t total_err_count;
uint32_t first_error;
uint64_t total_err_count;
+ /* ZBD stats */
+ uint64_t nr_zone_resets;
+
uint64_t nr_block_infos;
uint32_t block_infos[MAX_NR_BLOCK_INFOS];
uint64_t nr_block_infos;
uint32_t block_infos[MAX_NR_BLOCK_INFOS];
@@
-243,6
+246,9
@@
struct thread_stat {
uint64_t *ss_bw_data;
uint64_t pad5;
};
uint64_t *ss_bw_data;
uint64_t pad5;
};
+
+ uint64_t cachehit;
+ uint64_t cachemiss;
} __attribute__((packed));
struct jobs_eta {
} __attribute__((packed));
struct jobs_eta {
@@
-323,7
+329,7
@@
extern void add_sync_clat_sample(struct thread_stat *ts,
extern int calc_log_samples(void);
extern struct io_log *agg_io_log[DDIR_RWDIR_CNT];
extern int calc_log_samples(void);
extern struct io_log *agg_io_log[DDIR_RWDIR_CNT];
-extern
int
write_bw_log;
+extern
bool
write_bw_log;
static inline bool nsec_to_usec(unsigned long long *min,
unsigned long long *max, double *mean,
static inline bool nsec_to_usec(unsigned long long *min,
unsigned long long *max, double *mean,