On Wed, 3 Aug 2011 20:26:30 +0200 Christoph Hellwig <h...@lst.de> wrote:
> On Wed, Aug 03, 2011 at 03:11:38PM -0300, Luiz Capitulino 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 :) > > Oh, so you only plan to use the QMP command post-mortem? That makes a lot > more sense. Yes. Calling it 'proper thin provisioning support' was too ambitious from my part. > But relying on that fact should also help to simplify the > implementation and make it more robust by storing the error code from > the same place that we stop them VM. Yes, I think I'll do that.