From: hch@infradead.org (Christoph Hellwig)
Subject: SGL support of driver
Date: Mon, 27 Jul 2015 09:57:56 -0700 [thread overview]
Message-ID: <20150727165756.GA8847@infradead.org> (raw)
In-Reply-To: <alpine.LNX.2.00.1507271636430.15930@localhost.lm.intel.com>
On Mon, Jul 27, 2015@04:50:25PM +0000, Keith Busch wrote:
> The Linux driver never recieves an IO vector that requires double
> buffering though, and usually not physically contiguous. I'm not sure
> there is a case to support SGL in the linux-nvme driver. Maybe if it's
> tied to block integrity extensions with interleaved metadata formats,
> but it'd be odd to find a device that implements SGL but not separate
> metadata.
That's because it asks never to get one..
vectored direct I/O is a case where NVMe currently has to split
while most other block devices can handle it in a single I/O. For
some database workloads this does make a significant difference, and
it's even more interesting for providing atomicy to userspace using
a future O_ATOMIC.
It also requires pagecache I/O to be split into multiple commands
where other block devices can handle it a lot more efficiently.
next prev parent reply other threads:[~2015-07-27 16:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 16:22 SGL support of driver sheng qiu
2015-07-27 16:31 ` Christoph Hellwig
2015-07-27 16:50 ` Keith Busch
2015-07-27 16:57 ` Christoph Hellwig [this message]
2015-07-27 17:13 ` Keith Busch
2015-07-28 14:35 ` Matthew Wilcox
2015-07-29 7:55 ` Christoph Hellwig
2015-07-29 14:28 ` Keith Busch
2015-07-30 18:38 ` Matthew Wilcox
2015-07-31 7:19 ` 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=20150727165756.GA8847@infradead.org \
--to=hch@infradead.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 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.