All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Daniele Salvatore Albano <d.albano@gmail.com>,
	Hieke de Vries <hdevries@fastmail.com>
Cc: io-uring <io-uring@vger.kernel.org>
Subject: Re: Keep getting the same buffer ID when RECV with IOSQE_BUFFER_SELECT
Date: Sat, 4 Jul 2020 08:26:41 -0600	[thread overview]
Message-ID: <4ea62f2e-0605-0cea-603d-52b174541acf@kernel.dk> (raw)
In-Reply-To: <CAKq9yRjwUZ93uybghRTdfjHOMQCs2+FeQ8+fKeWvpeuZi0Ro7w@mail.gmail.com>

On 7/4/20 6:12 AM, Daniele Salvatore Albano wrote:
> On Sat, 4 Jul 2020 at 14:00, Hieke de Vries <hdevries@fastmail.com> wrote:
>>
>> There was a bug in the echo server code with re-registering the buffer: https://github.com/frevib/io_uring-echo-server/commit/aa6f2a09ca14c6aa17779a22343b9e7d4b3c7994
>>
>> Please try the latest master branch, maybe it'll help you with your own code as well.
>>
>> --
>> Hielke de Vries
> 
> Yes, that fixed my issue too!

So I guess this was just app error, nothing wrong on the kernel side?

-- 
Jens Axboe


      reply	other threads:[~2020-07-04 14:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03 18:48 Keep getting the same buffer ID when RECV with IOSQE_BUFFER_SELECT Daniele Salvatore Albano
2020-07-03 18:57 ` Jens Axboe
     [not found]   ` <CAKq9yRjSewr5z2r8G7dt68RBX4VA9phGpFumKCipNgLzXMdcdQ@mail.gmail.com>
2020-07-03 19:12     ` Jens Axboe
2020-07-03 20:22       ` Daniele Salvatore Albano
2020-07-04 12:00         ` Hieke de Vries
2020-07-04 12:12           ` Daniele Salvatore Albano
2020-07-04 14:26             ` Jens Axboe [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=4ea62f2e-0605-0cea-603d-52b174541acf@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=d.albano@gmail.com \
    --cc=hdevries@fastmail.com \
    --cc=io-uring@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.