From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwTIL-00065N-6q for qemu-devel@nongnu.org; Wed, 11 Nov 2015 06:10:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwTIH-0005vU-RY for qemu-devel@nongnu.org; Wed, 11 Nov 2015 06:10:29 -0500 Received: from smtp3.mundo-r.com ([212.51.32.191]:59653 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwTIH-0005vN-Kv for qemu-devel@nongnu.org; Wed, 11 Nov 2015 06:10:25 -0500 From: Alberto Garcia In-Reply-To: <56422818.601@redhat.com> References: <1447164879-6756-1-git-send-email-stefanha@redhat.com> <1447164879-6756-34-git-send-email-stefanha@redhat.com> <56422818.601@redhat.com> Date: Wed, 11 Nov 2015 12:10:21 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PULL 33/44] block: New option to define the intervals for collecting I/O statistics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Peter Maydell , Markus Armbruster On Tue 10 Nov 2015 06:23:36 PM CET, Eric Blake wrote: >> +# @stats-intervals: #optional colon-separated list of intervals for >> +# collecting I/O statistics, in seconds (default: none) >> +# (Since 2.5) > > Eww. Sorry for not noticing this sooner, but can we please fix this to >be: > > '*stats-intervals':['int'] No problem, I'll send a follow-up patch asap. I was actually expecting that there would be some debate about this; in the series description I mentioned that I considered an alternate API, although rather than ['int'] it was ['BlockdevStatsInterval'], with BlockdevStatsInterval being a struct with a sole member 'length': 'int'. stats-intervals.0.length=60, stats-intervals.1.length=3600, stats-intervals.2.length=86400 It's more future proof than just having a list of integers, but I honestly don't know if there's any use case for additional parameters of the intervals. https://lists.gnu.org/archive/html/qemu-block/2015-10/msg01068.html Berto