X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=iolog.h;h=297daf588c281ab34e2e67c674411b29f32d791c;hp=0c9a983cdd2481275ea159bcb4c09a1354706226;hb=0cba0f919ee6af7dd65df436884336cff9c903f9;hpb=105157adcd10c6b1a2629b9712d00c061f027cae diff --git a/iolog.h b/iolog.h index 0c9a983c..297daf58 100644 --- a/iolog.h +++ b/iolog.h @@ -186,6 +186,7 @@ extern void prune_io_piece_log(struct thread_data *); extern void write_iolog_close(struct thread_data *); extern int iolog_compress_init(struct thread_data *, struct sk_out *); extern void iolog_compress_exit(struct thread_data *); +extern size_t log_chunk_sizes(struct io_log *); #ifdef CONFIG_ZLIB extern int iolog_file_inflate(const char *); @@ -218,4 +219,11 @@ static inline void init_ipo(struct io_piece *ipo) INIT_FLIST_HEAD(&ipo->trim_list); } +struct iolog_compress { + struct flist_head list; + void *buf; + size_t len; + unsigned int seq; +}; + #endif