summaryrefslogtreecommitdiff
path: root/ioengines.c
diff options
context:
space:
mode:
Diffstat (limited to 'ioengines.c')
-rw-r--r--ioengines.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ioengines.c b/ioengines.c
index 18219161..ba02952b 100644
--- a/ioengines.c
+++ b/ioengines.c
@@ -18,6 +18,7 @@
#include "fio.h"
#include "diskutil.h"
+#include "zbd.h"
static FLIST_HEAD(engine_list);
@@ -354,6 +355,13 @@ enum fio_q_status td_io_queue(struct thread_data *td, struct io_u *io_u)
"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",
+ io_u->file->file_name);
+ }
+
if (!td->io_ops->commit) {
io_u_mark_submit(td, 1);
io_u_mark_complete(td, 1);