summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-08-29 16:21:32 +0900
committerJens Axboe <axboe@kernel.dk>2019-08-29 06:30:49 -0600
commit4580ff92390da42c6a3026d787c6bc6c412af637 (patch)
treed32896b49ef91424ec4404cce0bcc7891fd312a5
parentc5837eece655dd10b581ff91b74da992cd9d3214 (diff)
downloadfio-4580ff92390da42c6a3026d787c6bc6c412af637.tar.gz
fio-4580ff92390da42c6a3026d787c6bc6c412af637.tar.bz2
zbd: Fix error message
Use log_err() instead of log_info() for notifying invalid zonesize values specified by the user. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--zbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zbd.c b/zbd.c
index eeaeaa91..876246ed 100644
--- a/zbd.c
+++ b/zbd.c
@@ -411,8 +411,8 @@ static int parse_zone_info(struct thread_data *td, struct fio_file *f)
if (td->o.zone_size == 0) {
td->o.zone_size = zone_size;
} else if (td->o.zone_size != zone_size) {
- log_info("fio: %s job parameter zonesize %llu does not match disk zone size %llu.\n",
- f->file_name, (unsigned long long) td->o.zone_size,
+ log_err("fio: %s job parameter zonesize %llu does not match disk zone size %llu.\n",
+ f->file_name, (unsigned long long) td->o.zone_size,
(unsigned long long) zone_size);
ret = -EINVAL;
goto close;