[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>
Thu, 24 Dec 2020 14:41:17 +0000 (14:41 +0000)
commitff747e4509b1a194fa288f39914aa4417bc755a4
treea7b2a32f5951952f08cc88afe474b70ec8e8b6af
parentf7bdbc21454f5fadb539e15509765d6ec9319d0f
[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