From: Jens Axboe <axboe@kernel.dk>
To: Hamilton Tobon Mosquera <htobonm@eafit.edu.co>, fio@vger.kernel.org
Subject: Re: [io_uring] Problems using io_uring engine
Date: Mon, 25 May 2020 13:21:22 -0600 [thread overview]
Message-ID: <f552027a-25bd-d953-9b19-58e5e44121c6@kernel.dk> (raw)
In-Reply-To: <4f70c99f-e5c8-08f7-ebe9-1bbdea73305d@eafit.edu.co>
On 5/25/20 11:45 AM, Hamilton Tobon Mosquera wrote:
> Hi there,
>
> I'm trying to run sequential and random reads/writes in parallel using
> the io_uring engine with the HIPRI flag activated to enable polling. The
> file size is 200G, the number of fio threads is 4. The --size flags is
> set to 200/4, and the --offset_increment is set to 25%. I could
> effectively do it with pvsync2 engine but when I switch to io_uring the
> workloads immediately (they do not even work for 1 sec) fail with these
> errors:
>
> fio: io_u error on file /path/to/file: Operation not supported: write
> offset=3238043648, buflen=4096
> fio: io_u error on file /path/to/file: Operation not supported: write
> offset=88715874304, buflen=4096
> fio: io_u error on file /path/to/file: Operation not supported: write
> offset=174739943424, buflen=4096
> fio: io_u error on file /path/to/file: Operation not supported: write
> offset=112642154496, buflen=4096
>
>
> The offsets are under 200G, I don't understand why it's returning those
> errors. Can someone help please?.
What file system are you using? I don't think it supports IO polling.
io_uring actually checks for this, with preadv you just get normal
schedule based IO.
--
Jens Axboe
next prev parent reply other threads:[~2020-05-25 19:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 17:45 [io_uring] Problems using io_uring engine Hamilton Tobon Mosquera
2020-05-25 19:21 ` Jens Axboe [this message]
2020-05-25 22:38 ` Hamilton Tobon Mosquera
2020-05-26 0:19 ` Jens Axboe
2020-05-26 4:17 ` Jens Axboe
2020-05-26 13:57 ` Hamilton Tobon Mosquera
2020-05-26 19:18 ` Jens Axboe
2020-05-26 20:21 ` Hamilton Tobon Mosquera
2020-05-26 20:26 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f552027a-25bd-d953-9b19-58e5e44121c6@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=htobonm@eafit.edu.co \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox