From: Bart Van Assche Date: Wed, 22 Feb 2023 21:40:30 +0000 (-0800) Subject: io_u: Add a debug message in fill_io_u() X-Git-Tag: fio-3.34~15^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=629eda50301dd471390c325891c1c1447282fbba;p=fio.git io_u: Add a debug message in fill_io_u() A debug message is logged before each 'return io_u_eof' statement in fill_io_u() except one. Hence add a debug message in front of that one return statement. Signed-off-by: Bart Van Assche --- diff --git a/io_u.c b/io_u.c index eb617e64..d50d8465 100644 --- a/io_u.c +++ b/io_u.c @@ -984,8 +984,10 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u) offset = io_u->offset; if (td->o.zone_mode == ZONE_MODE_ZBD) { ret = zbd_adjust_block(td, io_u); - if (ret == io_u_eof) + if (ret == io_u_eof) { + dprint(FD_IO, "zbd_adjust_block() returned io_u_eof\n"); return 1; + } } if (io_u->offset + io_u->buflen > io_u->file->real_file_size) {