From: hch@lst.de (Christoph Hellwig)
Subject: [PATCH] nvme: return the whole CQE through the request passthrough interface
Date: Tue, 9 Feb 2016 13:46:02 +0100 [thread overview]
Message-ID: <20160209124602.GA25353@lst.de> (raw)
In-Reply-To: <56B8F0DE.5090808@bjorling.me>
On Mon, Feb 08, 2016@08:47:42PM +0100, Matias Bj?rling wrote:
> When LightNVM send asynchronous data commands, it would need to allocate
> extra memory for cqe. Would it make sense to pass cqe directly and assume
> that it is live through the blk_mq_complete_request call?
The CQE does not survive until ->end_io is called, both in the current
PCI driver, and in the Fabrics drivers. So we need some caller provided
storage for it.
next prev parent reply other threads:[~2016-02-09 12:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 18:09 nvme: return the whole CQE through the request passthrough interface Christoph Hellwig
2016-02-08 18:09 ` [PATCH] " Christoph Hellwig
2016-02-08 19:47 ` Matias Bjørling
2016-02-09 12:46 ` Christoph Hellwig [this message]
2016-02-09 13:05 ` Matias Bjørling
2016-02-13 10:01 ` Christoph Hellwig
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=20160209124602.GA25353@lst.de \
--to=hch@lst.de \
/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).