Recent changes (master)
The following changes since commit 6946ad5940565d573d85e210b8ea4da5884f0323:
Merge branch 'Verify_Bad_Hdr_Rand_Seed_Mult_Workload_Iterations_Non_Repeating_Seed' of https://github.com/horshack-dpreview/fio (2023-02-21 09:37:09 -0700)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to b5904c0d7434a49770cdb90eada1c724f0f7fe4e:
Merge branch 'master' of https://github.com/bvanassche/fio (2023-02-23 20:17:31 -0500)
----------------------------------------------------------------
Bart Van Assche (3):
io_u: Add a debug message in fill_io_u()
zbd: Report the zone capacity
zbd: Make an error message more detailed
Vincent Fu (1):
Merge branch 'master' of https://github.com/bvanassche/fio
io_u.c | 4 +++- zbd.c | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-)
---
Diff of recent changes:
io_u.c +3 -1
@@ -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) {
zbd.c +5 -4
@@ -807,8 +807,8 @@ static int parse_zone_info(struct thread_data *td, struct fio_file *f) goto out; } -dprint (FD_ZBD ,"Device %s has %d zones of size %" PRIu64" KB\n" , - f->file_name, nr_zones, zone_size /1024 ); +dprint (FD_ZBD ,"Device %s has %d zones of size %" PRIu64" KB and capacity %" PRIu64" KB\n" , + f->file_name, nr_zones, zone_size /1024 , zones[0 ].capacity /1024 ); zbd_info =scalloc (1 ,sizeof (*zbd_info) + (nr_zones +1 ) *sizeof (zbd_info->zone_info[0 ]));
@@ -848,8 +848,9 @@ static int parse_zone_info(struct thread_data *td, struct fio_file *f) p->cond = z->cond;if (j >0 && p->start != p[-1 ].start + zone_size) { -log_info ("%s: invalid zone data\n" , - f->file_name); +log_info ("%s: invalid zone data [%d:%d]: %" PRIu64" + %" PRIu64" != %" PRIu64"\n" , + f->file_name, j, i, + p[-1 ].start, zone_size, p->start); ret = -EINVAL ; goto out; }