Re: Recent changes (master)

Erwan Velu
2019-05-09T12:47:41Z

Isn't that also related to the kernel version you use ?

This message might mislead the user as he might just have to upgrade his
kernel to gain the feature ?

Le 09/05/2019 à 14:00, Jens Axboe a écrit :
> The following changes since commit f22dd97a5a1342c7dcb84f777a77bd30859cc35b:
>
> Update CFLAGS and LDFLAGS for FreeBSD builds (2019-05-06 22:18:55 -0600)
>
> are available in the Git repository at:
>
> git://git.kernel.dk/fio.git master
>
> for you to fetch changes up to 2857c34bd39fcd67c489a8e2b19d9455032bad0f:
>
> t/io_uring: clarify polled support is fs + device (2019-05-08 11:56:05 -0600)
>
> ----------------------------------------------------------------
> Jens Axboe (1):
> t/io_uring: clarify polled support is fs + device
>
> t/io_uring.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> ---
>
> Diff of recent changes:
>
> diff --git a/t/io_uring.c b/t/io_uring.c
> index 79a92311..208b58a5 100644
> --- a/t/io_uring.c
> +++ b/t/io_uring.c
> @@ -264,7 +264,8 @@ static int reap_events(struct submitter *s)
> 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");
> + printf("Your filesystem/device doesn't "
> + "support polled IO\n");
> return -1;
> }
> }