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 <axboe@kernel.dk>
f->pending_ios--;
if (cqe->res != BS) {
printf("io: unexpected ret=%d\n", cqe->res);
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");