aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-04 07:31:47 -0700
committerJens Axboe <axboe@kernel.dk>2024-03-04 07:31:47 -0700
commit2dddfd35396e2f7a1bb06cc7c92aa1e283be084e (patch)
tree144d28579ea100cd41a68671a4fad6d506d26446
parent5ae4f4220a48dddddc84c8b839ef9d8a1ed4edb1 (diff)
parent3c826d1cafe6c703237378314bdcd123770971e3 (diff)
downloadfio-2dddfd35396e2f7a1bb06cc7c92aa1e283be084e.tar.gz
Merge branch 'patch-ioengines' of https://github.com/kcoms555/fio
* 'patch-ioengines' of https://github.com/kcoms555/fio: ioengines: Make td_io_queue print log_err when got error
-rw-r--r--ioengines.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ioengines.c b/ioengines.c
index 87cc2286e..5dd4355d2 100644
--- a/ioengines.c
+++ b/ioengines.c
@@ -413,7 +413,7 @@ enum fio_q_status td_io_queue(struct thread_data *td, struct io_u *io_u)
if (io_u->error == EINVAL && td->io_issues[io_u->ddir & 1] == 1 &&
td->o.odirect) {
- log_info("fio: first direct IO errored. File system may not "
+ log_err("fio: first direct IO errored. File system may not "
"support direct IO, or iomem_align= is bad, or "
"invalid block size. Try setting direct=0.\n");
}
@@ -421,7 +421,7 @@ enum fio_q_status td_io_queue(struct thread_data *td, struct io_u *io_u)
if (zbd_unaligned_write(io_u->error) &&
td->io_issues[io_u->ddir & 1] == 1 &&
td->o.zone_mode != ZONE_MODE_ZBD) {
- log_info("fio: first I/O failed. If %s is a zoned block device, consider --zonemode=zbd\n",
+ log_err("fio: first I/O failed. If %s is a zoned block device, consider --zonemode=zbd\n",
io_u->file->file_name);
}