Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Feb 17, 2021

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit d16e84e256ffdcd3143c9439cf1e408d8db61c1a:

Merge branch 'per-engine-pre-write-function' of https://github.com/lukaszstolarczuk/fio (2021-02-14 13:21:05 -0700)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to c4f5c92fac8a39ffff29d57e99c3c0163358dd7a:

engines/io_uring: add verbose error for ENOSYS (2021-02-16 12:07:14 -0700)

----------------------------------------------------------------
Jens Axboe (1):
engines/io_uring: add verbose error for ENOSYS

 engines/io_uring.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

---

Diff of recent changes:

engines/io_uring.c +5 -1
index 9ce2ae80..c9036ba0 100644
@@ -696,7 +696,11 @@ static int fio_ioring_post_init(struct thread_data *td)
 
 	err = fio_ioring_queue_init(td);
 	if (err) {
-		td_verror(td, errno, "io_queue_init");
+		int __errno = errno;
+
+		if (__errno == ENOSYS)
+			log_err("fio: your kernel doesn't support io_uring\n");
+		td_verror(td, __errno, "io_queue_init");
 		return 1;
 	}