public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Glauber Costa <glauber@scylladb.com>,
	io-uring@vger.kernel.org, Avi Kivity <avi@scylladb.com>,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: Crash on using the poll ring
Date: Fri, 21 Feb 2020 06:51:32 -0800	[thread overview]
Message-ID: <97074e5b-896e-6bd5-3c6e-bfa38bf522c4@kernel.dk> (raw)
In-Reply-To: <CAD-J=zbKXuF1HCd5yG0oNaizNWZTD3248Oii7xoofQ--EqO3dw@mail.gmail.com>

On 2/21/20 6:17 AM, Glauber Costa wrote:
> Hi
> 
> Today I found a crash when adding code for the poll ring to my implementation.
> Kernel is 2b58a38ef46e91edd68eec58bdb817c42474cad6
> 
> Here's how to reproduce:
> 
> code at
> https://github.com/glommer/seastar.git branch poll-ring
> 
> 1. same as previous steps to configure seastar, but compile with:
> ninja -C build/release apps/io_tester/io_tester
> 
> 2. Download the yaml file attached
> 
> 3. Run with:
> 
> ./build/release/apps/io_tester/io_tester --conf ~/test.yaml --duration
> 15 --directory /var/disk1  --reactor-backend=uring --smp 1
> 
> (directory must be on xfs because we do c++ but we're not savages)

This is due to killing the dummy callback function on the task work.
I'll play with this a bit and see how we can fix it.

-- 
Jens Axboe


  reply	other threads:[~2020-02-21 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-21 13:17 Crash on using the poll ring Glauber Costa
2020-02-21 14:51 ` Jens Axboe [this message]
2020-02-21 19:04   ` Jens Axboe
2020-02-21 19:51     ` Glauber Costa

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=97074e5b-896e-6bd5-3c6e-bfa38bf522c4@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=avi@scylladb.com \
    --cc=glauber@scylladb.com \
    --cc=io-uring@vger.kernel.org \
    --cc=peterz@infradead.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