summaryrefslogtreecommitdiff
path: root/zbd.c
diff options
context:
space:
mode:
authorDmitry Fomichev <dmitry.fomichev@wdc.com>2021-01-27 13:19:24 +0900
committerJens Axboe <axboe@kernel.dk>2021-01-29 08:14:00 -0700
commit9fc5c3fd1ba59faa04458fd87d3ee92493bde357 (patch)
tree73f5bc66c153eb5bdb0d0abc37a6c9fb17084784 /zbd.c
parent2efcf74b8bf08c0bb9a89022dd3c650f57036924 (diff)
downloadfio-9fc5c3fd1ba59faa04458fd87d3ee92493bde357.tar.gz
fio-9fc5c3fd1ba59faa04458fd87d3ee92493bde357.tar.bz2
zbd: don't log "zone nnnn is not open" message
This log message has been added recently (it could have been my idea to add it during internal review) and it turns out that the message tends to flood the log when any decent workload is run with --zonemode=zbd. Remove logging of this debug message. Signed-off-by: Dmitry Fomichev <dmitry.fomichev@wdc.com> Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'zbd.c')
-rw-r--r--zbd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/zbd.c b/zbd.c
index 2cebc5e6..634ee8f6 100644
--- a/zbd.c
+++ b/zbd.c
@@ -786,11 +786,8 @@ static void zbd_close_zone(struct thread_data *td, const struct fio_file *f,
if (f->zbd_info->open_zones[open_zone_idx] == zone_idx)
break;
}
- if (open_zone_idx == f->zbd_info->num_open_zones) {
- dprint(FD_ZBD, "%s: zone %d is not open\n",
- f->file_name, zone_idx);
+ if (open_zone_idx == f->zbd_info->num_open_zones)
return;
- }
dprint(FD_ZBD, "%s: closing zone %d\n", f->file_name, zone_idx);
memmove(f->zbd_info->open_zones + open_zone_idx,