[libvirt] [PATCH 00/23] Add block write threshold event

Peter Krempa pkrempa at redhat.com
Wed Mar 22 07:55:29 UTC 2017


On Wed, Mar 15, 2017 at 17:37:12 +0100, Peter Krempa wrote:
> This is another version of the stuff that I've posted here:
> https://www.redhat.com/archives/libvir-list/2017-February/msg01391.html
> which was partially based on the very old discussion at
> https://www.redhat.com/archives/libvir-list/2015-May/msg00580.html
> 
> This version fixes some of the review feedback that I've got and also fixes all
> the issues pointed out in the original cover letter since I managed to implement
> the node name detection in a way suitable for this.
> 
> The event is useful for mgmt apps using thin-provisioned storage so that they
> don't have to poll for the disk filling all the time.
> 
> Peter Krempa (23):
>   qemu: driver: Don't call qemuDomainDetermineDiskChain on block jobs
>   util: buffer: Add API to set indentation level to a given value
>   util: storage: Split out useful bits of virStorageFileParseChainIndex
>   util: storage: Add variables for node names into virStorageSource
>   lib: Introduce event for tracking disk backing file write threshold
>   qemu: monitor: Add support for BLOCK_WRITE_THRESHOLD event
>   qemu: domain: Add helper to lookup disk by node name
>   qemu: domain: Add helper to generate indexed backing store names
>   qemu: process: Wire up firing of the
>     VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD event
>   lib: Add API for setting the threshold size for
>     VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD
>   virsh: Implement 'domblkthreshold' command to call
>     virDomainSetBlockThreshold
>   qemu: domain: Add helper to look up disk soruce by the backing store
>     string
>   qemu: implement qemuDomainSetBlockThreshold
>   qemu: capabilities: add capability for query-named-block-nodes qmp cmd
>   qemu: monitor: Add monitor infrastructure for query-named-block-nodes
>   qemu: block: Add code to allow detection of auto-allocated node names
>   tests: qemumonitorjson: Add test case for node name detection code
>   tests: qemumonitorjson: Add long backing chain test case for node name
>     detection
>   tests: qemumonitorjson: Add case for two disks sharing a backing image
>   tests: qemumonitorjson: Add relative image names for node name
>     detection
>   tests: qemumonitorjson: Test node name detection on networked storage
>   qemu: monitor: Extract the top level format node when querying disks
>   qemu: block: Add code to detect node names when necessary

Ping? This feature is very sought after by oVirt so that they can start
developing their code. I't be great if it would make this release.

Thanks.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170322/6836b919/attachment-0001.sig>


More information about the libvir-list mailing list