public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH] io_uring: simplify file ref tracking in subm state
Date: Thu, 16 Jul 2020 15:05:37 -0600	[thread overview]
Message-ID: <d60896f1-834d-a225-ee74-30ccbeda06a0@kernel.dk> (raw)
In-Reply-To: <8ad5d1e7c726ee96f0c55061049188fce0f1c445.1594930010.git.asml.silence@gmail.com>

On 7/16/20 2:28 PM, Pavel Begunkov wrote:
> Currently, file refs in struct io_submit_state are tracked with 2 vars:
> @has_refs -- how many refs were initially taken
> @used_refs -- number of refs used
> 
> Replace it with a single veriable counting how many refs left at the
> current moment.

Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2020-07-16 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16 20:28 [PATCH] io_uring: simplify file ref tracking in subm state Pavel Begunkov
2020-07-16 21:05 ` 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=d60896f1-834d-a225-ee74-30ccbeda06a0@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox