t/steadystate_tests: relax acceptance criterion
[fio.git] / t / io_uring.c
index 208b58a50a8d6b39e2e05dc0c26fce94ad7e8479..c2e5e0989ee9a4f84096f95def112b38e1b41153 100644 (file)
@@ -133,10 +133,12 @@ static int io_uring_enter(struct submitter *s, unsigned int to_submit,
                        min_complete, flags, NULL, 0);
 }
 
+#ifndef CONFIG_HAVE_GETTID
 static int gettid(void)
 {
        return syscall(__NR_gettid);
 }
+#endif
 
 static unsigned file_depth(struct submitter *s)
 {
@@ -264,8 +266,7 @@ static int reap_events(struct submitter *s)
                        if (cqe->res != BS) {
                                printf("io: unexpected ret=%d\n", cqe->res);
                                if (polled && cqe->res == -EOPNOTSUPP)
-                                       printf("Your filesystem/device doesn't "
-                                               "support polled IO\n");
+                                       printf("Your filesystem/driver/kernel doesn't support polled IO\n");
                                return -1;
                        }
                }