[PATCH libaio 23/28] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT
authorGuillem Jover <guillem@hadrons.org>
Sat, 20 Jul 2019 19:21:02 +0000 (21:21 +0200)
committerGuillem Jover <guillem@debian.org>
Tue, 2 Nov 2021 23:56:45 +0000 (23:56 +0000)
commit9813ef645c5ba575fbf5ee866b543b45b31e8d54
treef9b7b4601fe7f9ce93ff46a4262e23d641c77634
parent1499673f4248695f07f27b2c7e979967c2769797
[PATCH libaio 23/28] harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT

On filesystems such as tmpfs the syscall might return -ENOTSUP instead
of EINVAL when it does not support the RWF_NOWAIT flag.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
[JEM: skip the test instead of returning success]
[JEM: make the error message differentiate between kernel and fs support]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0023-harness-Handle-ENOTSUP-from-io_submit-with-RWF_NOWAI.patch
harness/cases/21.t