From: Jens Axboe Date: Fri, 1 Feb 2019 05:55:52 +0000 (-0700) Subject: t/io_uring: verbose error for -95/-EOPNOTSUPP failure X-Git-Tag: fio-3.13~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=154a95828fe08b01774b59602544de394b2d3aa6;p=fio.git t/io_uring: verbose error for -95/-EOPNOTSUPP failure If we fail with this error and polling is enabled, it's because the file system hosting the file doesn't support polling. Let the user know. Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 62b48e44..7c75c887 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -262,6 +262,8 @@ static int reap_events(struct submitter *s) f->pending_ios--; 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"); return -1; } }