Commit 6350a524 authored by Daniel Black's avatar Daniel Black

tpool: liburing typo in error

Also the ENOSYS is more likely explained by seccomp
filters in containers than a pre-5.1 kernel, so include
both.
parent 2c005261
...@@ -52,7 +52,8 @@ class aio_uring final : public tpool::aio ...@@ -52,7 +52,8 @@ class aio_uring final : public tpool::aio
case ENOSYS: case ENOSYS:
my_printf_error(ER_UNKNOWN_ERROR, my_printf_error(ER_UNKNOWN_ERROR,
"io_uring_queue_init() failed with ENOSYS:" "io_uring_queue_init() failed with ENOSYS:"
" try uprading the kernel", " check seccomp filters, and the kernel version "
"(newer than 5.1 required)",
ME_ERROR_LOG | ME_WARNING); ME_ERROR_LOG | ME_WARNING);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment