gfio: add high/low priority latency results
[fio.git] / t / io_uring.c
index 79a92311b0dc7cb913b605192b5bb6fe5acf2ec7..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,7 +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 doesn't support poll\n");
+                                       printf("Your filesystem/driver/kernel doesn't support polled IO\n");
                                return -1;
                        }
                }