qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Christoph Hellwig <hch@lst.de>
Cc: kwolf@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org,
	armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/5]: QMP: Proper thin provisioning support
Date: Wed, 3 Aug 2011 15:11:38 -0300	[thread overview]
Message-ID: <20110803151138.28850d1c@doriath> (raw)
In-Reply-To: <20110803163131.GA8411@lst.de>

On Wed, 3 Aug 2011 18:31:31 +0200
Christoph Hellwig <hch@lst.de> wrote:

> > It's already possible for QMP clients to implement this feature by using
> > the BLOCK_IO_ERROR event. However, the event can be missed. When this
> > happens QMP clients need a way to query if any block device has hit a
> > no space condition.
> 
> We have a mode where we stop the VM when it hits ENOSPC, and that is
> the only reliably way to handle it. 

This series just complements that mode by allowing a mngt application
to query which device triggered the ENOSPC. Well, that's my intention :)

> One that ENOSPC gets returned
> to the guest we don't know that it was an ENOSPC, and the guest will
> usually simply shut the filesystem down.  This could be worked around
> by implementing full T10 logical provisioning support, but very few
> guests actually support it properly.  And it won't work with ide disks
> at all, and for virtio we'd have to implement it first.

Seems interesting, but the current solution is guest independent.

  reply	other threads:[~2011-08-03 18:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03 15:19 [Qemu-devel] [PATCH v2 0/5]: QMP: Proper thin provisioning support Luiz Capitulino
2011-08-03 15:19 ` [Qemu-devel] [PATCH 1/5] block: Introduce get_iostatus() device model operation Luiz Capitulino
2011-08-03 15:19 ` [Qemu-devel] [PATCH 2/5] QMP/HMP: Add the 'io-status' field to query-block and info block Luiz Capitulino
2011-08-03 15:19 ` [Qemu-devel] [PATCH 3/5] virtio-blk: Support I/O status Luiz Capitulino
2011-08-03 15:19 ` [Qemu-devel] [PATCH 4/5] ide: " Luiz Capitulino
2011-08-03 15:19 ` [Qemu-devel] [PATCH 5/5] scsi-disk: " Luiz Capitulino
2011-08-03 15:39 ` [Qemu-devel] [PATCH v2 0/5]: QMP: Proper thin provisioning support Kevin Wolf
2011-08-03 18:08   ` Luiz Capitulino
2011-08-04  8:10     ` Kevin Wolf
2011-08-04  9:19       ` Markus Armbruster
2011-08-04 13:42         ` Luiz Capitulino
2011-08-03 16:31 ` Christoph Hellwig
2011-08-03 18:11   ` Luiz Capitulino [this message]
2011-08-03 18:26     ` Christoph Hellwig
2011-08-03 18:36       ` Luiz Capitulino

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=20110803151138.28850d1c@doriath \
    --to=lcapitulino@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=armbru@redhat.com \
    --cc=hch@lst.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.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 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).