IO-Uring Archive on
 help / color / Atom feed
From: Jens Axboe <>
To: Pavel Begunkov <>,,
Subject: Re: [PATCH v2] io_uring: Fix ->data corruption on re-enqueue
Date: Mon, 23 Mar 2020 08:25:14 -0600
Message-ID: <> (raw)
In-Reply-To: <>

On 3/23/20 2:19 AM, Pavel Begunkov wrote:
> work->data and work->list are shared in union. io_wq_assign_next() sets
> ->data if a req having a linked_timeout, but then io-wq may want to use
> work->list, e.g. to do re-enqueue of a request, so corrupting ->data.
> Don't need ->data, remove it and get linked_timeout through @link_list.


Jens Axboe

      reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22 21:23 [PATCH 1/1] " Pavel Begunkov
2020-03-23  1:28 ` Jens Axboe
2020-03-23  8:19 ` [PATCH v2] " Pavel Begunkov
2020-03-23 14:25   ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

IO-Uring Archive on

Archives are clonable:
	git clone --mirror io-uring/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 io-uring io-uring/ \
	public-inbox-index io-uring

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone