All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: fio@vger.kernel.org
Subject: Can't setup io_uring for buffered IO
Date: Mon, 16 Aug 2021 20:02:27 +0800	[thread overview]
Message-ID: <YRpT0019mbS1jSE4@T590> (raw)

Hello Guys,

I tried to use the following script to run buffered io with io_uring,
but looks it always complains with 'Operation not supported', and any
idea to make it working?

++ /root/git/fio/fio --readonly --name=onessd --filename=/dev/nvme0n1 --filesize=16m --rw=randread --bs=4k --direct=0 --overwrite=0 --numjobs=1 --iodepth=1 --time_based=1 --runtime=1 --ioengine=io_uring --registerfiles --fixedbufs --hipri=1 --gtod_reduce=1 --group_reporting
onessd: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=io_uring, iodepth=1
fio-3.25-229-gdf9e8
Starting 1 process
fio: io_u error on file /dev/nvme0n1: Operation not supported: read offset=1011712, buflen=4096
fio: pid=3278, err=95/file:io_u.c:1841, func=io_u error, error=Operation not supported

onessd: (groupid=0, jobs=1): err=95 (file:io_u.c:1841, func=io_u error, error=Operation not supported): pid=3278: Mon Aug 16 12:01:17 2021



Thanks,
Ming



             reply	other threads:[~2021-08-16 12:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 12:02 Ming Lei [this message]
2021-08-16 14:50 ` Can't setup io_uring for buffered IO Ming Lei
2021-08-17 18:28   ` 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=YRpT0019mbS1jSE4@T590 \
    --to=ming.lei@redhat.com \
    --cc=fio@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.