All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "zhangyi (F)" <yi.zhang@huawei.com>, linux-block@vger.kernel.org
Cc: yangerkun@huawei.com
Subject: Re: [PATCH 1/2] io_uring : correct timeout req sequence when waiting timeout
Date: Wed, 23 Oct 2019 21:41:34 -0600	[thread overview]
Message-ID: <ed1f6549-00d0-1376-5d55-370e0fc0262a@kernel.dk> (raw)
In-Reply-To: <20191023071009.13891-1-yi.zhang@huawei.com>

On 10/23/19 1:10 AM, zhangyi (F) wrote:
> The sequence number of reqs on the timeout_list before the timeout req
> should be adjusted in io_timeout_fn(), because the current timeout req
> will consumes a slot in the cq_ring and cq_tail pointer will be
> increased, otherwise other timeout reqs may return in advance without
> waiting for enough wait_nr.

Thanks, applied both patches. Will run them through some extra testing
tomorrow, but looks good so far.

-- 
Jens Axboe


      parent reply	other threads:[~2019-10-24  3:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  7:10 [PATCH 1/2] io_uring : correct timeout req sequence when waiting timeout zhangyi (F)
2019-10-23  7:10 ` [PATCH 2/2] io_uring: correct timeout req sequence when inserting a new entry zhangyi (F)
2019-10-24  3:41 ` 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=ed1f6549-00d0-1376-5d55-370e0fc0262a@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=yangerkun@huawei.com \
    --cc=yi.zhang@huawei.com \
    /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.