qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: Peter Lieven <pl@kamp.de>,
	qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 0/2] qemu-img: Allow source cache mode specification
Date: Fri, 15 Aug 2014 14:59:15 +0200	[thread overview]
Message-ID: <53EE0423.6020604@redhat.com> (raw)
In-Reply-To: <20140814153051.GA15821@noname.redhat.com>

On 14.08.2014 17:30, Kevin Wolf wrote:
> Am 22.07.2014 um 22:58 hat Max Reitz geschrieben:
>> Currently, qemu-img does not allow setting the cache mode for source
>> images. However, it reads images generally only once, therefore a full
>> writeback cache unnecessarily clutters the host cache. In case the user
>> finds this undesirable, there has to be a way of disabling that cache.
>> This series first introduces such a way for check, compare, convert and
>> rebase and then (while at it) adds a cache mode switch to amend (which
>> was missing so far).
>>
>> Peter already tried to add a BDRV_O_SEQUENTIAL mode to qemu-img convert.
>> If we want to add such a mode (which in my opinion would be the logical
>> consequence of this series), we may want to make it just another cache
>> mode which can be selected by the user.
> I would prefer if we used -t in all places where only one image is
> used, so that I don't have to remember that supposedly check -r has only
> an input image, whereas amend has only an output image. But that's
> probably a matter of taste...
>
> If you don't want to change it, the implementation looks okay:
>
> Reviewed-by: Kevin Wolf <kwolf@redhat.com>

In order to get this series in as fast as possible, I won't change it in 
this series anymore.

Maybe we can add support for "-t" and "-T" being usable interchangably 
for such single-image commands in the future, but for now I hope the 
error messages will suffice.

Max

  reply	other threads:[~2014-08-15 12:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 20:58 [Qemu-devel] [PATCH v2 0/2] qemu-img: Allow source cache mode specification Max Reitz
2014-07-22 20:58 ` [Qemu-devel] [PATCH v2 1/2] " Max Reitz
2014-07-22 21:07   ` Eric Blake
2014-07-22 20:58 ` [Qemu-devel] [PATCH v2 2/2] qemu-img: Allow cache mode specification for amend Max Reitz
2014-08-14 15:30 ` [Qemu-devel] [PATCH v2 0/2] qemu-img: Allow source cache mode specification Kevin Wolf
2014-08-15 12:59   ` Max Reitz [this message]
2014-08-22 12:55 ` Kevin Wolf

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=53EE0423.6020604@redhat.com \
    --to=mreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pl@kamp.de \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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).