public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Li Zetao <lizetao1@huawei.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: <linux-bcachefs@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] bcachefs: support iopoll method
Date: Fri, 16 Aug 2024 11:35:35 +0800	[thread overview]
Message-ID: <340d85f3-ece3-45b8-b482-bfeac04e6ab4@huawei.com> (raw)
In-Reply-To: <rqt2hvqaukziy5pzg3v7conihbjwa2icej23qbay3zm5b5kn5s@cvccny7kpz7p>

Hi,

在 2024/8/15 22:16, Kent Overstreet 写道:
> On Thu, Aug 15, 2024 at 10:20:34PM GMT, Li Zetao wrote:
>> When bcachefs uses io_uring, implement the iopoll method to support
>> IORING_SETUP_IOPOLL.
>>
>> Signed-off-by: Li Zetao <lizetao1@huawei.com>
> 
> tested?
I have tested with fio:

[root]# vi bcachefs.fio
[global]
direct=1
thread=1
norandommap=1
group_reporting=1
time_based=1
ioengine=io_uring

rw=randwrite
bs=4096
runtime=20
numjobs=1
fixedbufs=1
hipri=1
registerfiles=1
sqthread_poll=1

[filename0]
size=1G
iodepth=1
cpus_allowed=20
filename=/mnt/bcachefs/test

The option "hipri=1" need to support IORING_SETUP_IOPOLL for io_uring 
engine.

      reply	other threads:[~2024-08-16  3:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 14:20 [PATCH -next] bcachefs: support iopoll method Li Zetao
2024-08-15 14:16 ` Kent Overstreet
2024-08-16  3:35   ` Li Zetao [this message]

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=340d85f3-ece3-45b8-b482-bfeac04e6ab4@huawei.com \
    --to=lizetao1@huawei.com \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcachefs@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox