Skip to content

Commit

Permalink
Merge branch 'patch-ioengines' of https://github.com/kcoms555/fio
Browse files Browse the repository at this point in the history
* 'patch-ioengines' of https://github.com/kcoms555/fio:
  ioengines: Make td_io_queue print log_err when got error
  • Loading branch information
axboe committed Mar 4, 2024
2 parents 5ae4f42 + 3c826d1 commit 2dddfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ioengines.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ 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");
}

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);
}

Expand Down

0 comments on commit 2dddfd3

Please sign in to comment.