This function be needed in the next patch. Signed-off-by: Lukas Straub <lukasstraub2@xxxxxx> --- iolog.c | 2 +- iolog.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iolog.c b/iolog.c index 1aeb7a76..3d4646a8 100644 --- a/iolog.c +++ b/iolog.c @@ -355,7 +355,7 @@ void write_iolog_close(struct thread_data *td) td->iolog_buf = NULL; } -static int64_t iolog_items_to_fetch(struct thread_data *td) +int64_t iolog_items_to_fetch(struct thread_data *td) { struct timespec now; uint64_t elapsed; diff --git a/iolog.h b/iolog.h index 7d66b7c4..a3986309 100644 --- a/iolog.h +++ b/iolog.h @@ -254,6 +254,7 @@ extern void trim_io_piece(const struct io_u *); extern void queue_io_piece(struct thread_data *, struct io_piece *); extern void prune_io_piece_log(struct thread_data *); extern void write_iolog_close(struct thread_data *); +int64_t iolog_items_to_fetch(struct thread_data *td); 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 *); -- 2.34.1
Attachment:
pgp47J2quaqRn.pgp
Description: OpenPGP digital signature