All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: "Leonardo E. Reiter" <lreiter@vbridges.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	QEMU Developers Mailing List <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/5] block: Virtual Bridges VERDE GOW disk	image format documentation
Date: Sat, 24 Mar 2012 16:43:33 +0100	[thread overview]
Message-ID: <20120324154333.GH13014@lst.de> (raw)
In-Reply-To: <CA+BHXk+eb=Sm9RC17HJGROBsgyNGMaQRYNXF-5fqC+27Xbt26g@mail.gmail.com>

On Sun, Mar 11, 2012 at 04:03:01PM -0500, Leonardo E. Reiter wrote:
> indeed mmap() is used in the code.  This is unfortunate that it cannot be
> used.  It's a really high performance way to achieve what we want here, and
> very safe for the use-case.  Of course the only medium we support in the
> product that uses this is filesystem, so I see your point.  I'll see about
> using some different mechanism.

using shared writeable mmaps for disk I/O is never a safe approach, as
there is no way for sane error handling.

      reply	other threads:[~2012-03-24 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 22:13 [Qemu-devel] [PATCH 1/5] block: Virtual Bridges VERDE GOW disk image format documentation Leonardo E. Reiter
2012-03-09 10:50 ` Stefan Hajnoczi
2012-03-11 21:03   ` Leonardo E. Reiter
2012-03-24 15:43     ` Christoph Hellwig [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=20120324154333.GH13014@lst.de \
    --to=hch@lst.de \
    --cc=lreiter@vbridges.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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.