Received: from eggs.gnu.org ([2001:4830:134:3::10]:43583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Ra1-0000oH-Ro for qemu-devel@nongnu.org; Tue, 08 Jul 2014 05:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4RZw-0004kt-HK for qemu-devel@nongnu.org; Tue, 08 Jul 2014 05:20:53 -0400 Received: from indium.canonical.com ([91.189.90.7]:40034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4RZw-0004kj-By for qemu-devel@nongnu.org; Tue, 08 Jul 2014 05:20:48 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1X4RZu-0001PV-Sq for ; Tue, 08 Jul 2014 09:20:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D1FC02E80C1 for ; Tue, 8 Jul 2014 09:20:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 08 Jul 2014 09:12:08 -0000 From: Francesco Romani Sender: bounces@canonical.com References: <20140708091208.10184.15528.malonedeb@soybean.canonical.com> Message-Id: <20140708091208.10184.15528.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1338957] [NEW] RFE: add an event to report block devices watermark Reply-To: Bug 1338957 <1338957@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: Add an event to report if a block device usage exceeds a threshold. The threshold should be configurable with a monitor command. The event should report the affected block device. Additional useful information could be the offset of the highest sector , like in the query-blockstats output. Rationale for the RFE Managing applications, like oVirt (http://www.ovirt.org), make extensive us= e of thin-provisioned disk images. In order to let the guest run flawlessly and be not unnecessarily paused, o= Virt sets a watermark and automatically resized the image once the watermar= k is reached or exceeded. In order to detect the mark crossing, the managing application has no choic= e than aggressively polling the QEMU monitor using the query-blockstats command. This lead to unnecessary system load, a= nd is made even worse under scale: scenarios with hunderds of VM are becoming not unusual. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1338957 Title: RFE: add an event to report block devices watermark Status in QEMU: New Bug description: Add an event to report if a block device usage exceeds a threshold. The threshold should be configurable with a monitor command. The event should report the affected block device. Additional useful information could be the offset of the highest sector , like in the query- blockstats output. Rationale for the RFE Managing applications, like oVirt (http://www.ovirt.org), make extensive = use of thin-provisioned disk images. In order to let the guest run flawlessly and be not unnecessarily paused,= oVirt sets a watermark and automatically resized the image once the waterm= ark is reached or exceeded. In order to detect the mark crossing, the managing application has no cho= ice than aggressively polling the QEMU monitor using the query-blockstats command. This lead to unnecessary system load,= and is made even worse under scale: scenarios with hunderds of VM are becoming not unusual. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1338957/+subscriptions