From: Kevin Wolf <kwolf@redhat.com>
To: Jeff Cody <jcody@redhat.com>
Cc: sw@weilnetz.de, qemu-devel@nongnu.org, stefanha@redhat.com,
mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3 0/5] Allow VPC and VDI to be created over protocols
Date: Thu, 7 Aug 2014 16:52:12 +0200 [thread overview]
Message-ID: <20140807145212.GG3374@noname.redhat.com> (raw)
In-Reply-To: <cover.1406150099.git.jcody@redhat.com>
Am 23.07.2014 um 23:22 hat Jeff Cody geschrieben:
> Changes from v2 -> v3:
> * Patch 2: Removed extra #ifdef __linux__ from top of file (Max)
> * Patch 4: Removed extra #ifdef __linux__ from top of file (Max)
> * Patch 5: Removed output from debug cruft (Max)
> * Added Max's R-b to remaining patches
>
> Changes from v1 -> v2:
> * Patch 2: Use'bs' instead of 'bs->file' (Max)
> * Patch 3: Same as patch 2 (ripple through)
> * Patch 5: Update VDI test for static image (Kevin)
> * Added Max's R-b to patches 1,3,4
>
> This allows VPC and VDI to be created over protocols; currently, they use
> posix calls directly to open, seek, and write into new image files. This
> obviously precludes them from being able to be created over a protocol, like
> glusterfs.
Thanks, applied to the block branch.
I have one general remark, though: When creating an image, there's
little reason to use bdrv_pwrite_sync() instead of bdrv_pwrite(). If it
crashes in the middle, the file will be thrown away anyway. So it only
slows things down a bit for no benefit. Might be worth a follow-up.
Kevin
prev parent reply other threads:[~2014-08-07 14:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 21:22 [Qemu-devel] [PATCH v3 0/5] Allow VPC and VDI to be created over protocols Jeff Cody
2014-07-23 21:22 ` [Qemu-devel] [PATCH v3 1/5] block: allow bdrv_unref() to be passed NULL pointers Jeff Cody
2014-07-23 21:22 ` [Qemu-devel] [PATCH v3 2/5] block: vdi - use block layer ops in vdi_create, instead of posix calls Jeff Cody
2014-07-23 21:22 ` [Qemu-devel] [PATCH v3 3/5] block: use the standard 'ret' instead of 'result' Jeff Cody
2014-07-23 21:23 ` [Qemu-devel] [PATCH v3 4/5] block: vpc - use block layer ops in vpc_create, instead of posix calls Jeff Cody
2014-07-23 21:23 ` [Qemu-devel] [PATCH v3 5/5] block: iotest - update 084 to test static VDI image creation Jeff Cody
2014-08-07 14:52 ` Kevin Wolf [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=20140807145212.GG3374@noname.redhat.com \
--to=kwolf@redhat.com \
--cc=jcody@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=sw@weilnetz.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).