linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin LaHaise <ben@communityfibre.ca>
To: Hamza Mahfooz <someguy@effective-light.com>
Cc: linux-kernel@vger.kernel.org,
	kernel test robot <yujie.liu@intel.com>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	linux-fsdevel@vger.kernel.org, linux-aio@kvack.org
Subject: Re: [PATCH v2] aio: convert active_reqs into a hashtable
Date: Thu, 23 Sep 2021 12:37:43 -0400	[thread overview]
Message-ID: <20210923163743.GZ24576@kvack.org> (raw)
In-Reply-To: <7H1WZQ.H8D3XK8HUSNQ3@effective-light.com>

On Thu, Sep 23, 2021 at 09:00:43AM -0400, Hamza Mahfooz wrote:
> Would that not mean that, we would have to keep track of the indices of 
> the
> array that are not being held by an `aio_kiocb`?

Correct.  This is a better solution than the hash table and would mean
that the requests list could likely be replaced by the table.

		-ben
-- 
"Thought is the essence of where you are now."

      reply	other threads:[~2021-09-23 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 14:41 [PATCH v2] aio: convert active_reqs into a hashtable Hamza Mahfooz
2021-09-19 14:56 ` Benjamin LaHaise
2021-09-23 13:00   ` Hamza Mahfooz
2021-09-23 16:37     ` Benjamin LaHaise [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=20210923163743.GZ24576@kvack.org \
    --to=ben@communityfibre.ca \
    --cc=linux-aio@kvack.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=someguy@effective-light.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=yujie.liu@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).