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