Received: from eggs.gnu.org ([2001:4830:134:3::10]:45365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8OHs-0000Gr-HP for qemu-devel@nongnu.org; Thu, 02 Jun 2016 04:47:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8OHm-00083k-JG for qemu-devel@nongnu.org; Thu, 02 Jun 2016 04:47:31 -0400 Received: from smtp3.mundo-r.com ([212.51.32.191]:42697 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8OHm-0007y9-C7 for qemu-devel@nongnu.org; Thu, 02 Jun 2016 04:47:26 -0400 From: Alberto Garcia In-Reply-To: <1464828031-25601-1-git-send-email-stefanha@redhat.com> References: <1464828031-25601-1-git-send-email-stefanha@redhat.com> Date: Thu, 02 Jun 2016 10:46:49 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] throttle: refuse iops-size without iops-total/read/write List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org On Thu 02 Jun 2016 02:40:31 AM CEST, Stefan Hajnoczi wrote: > In a similar vein to commit ee2bdc33c913b7d765baa5aa338c29fb30a05c9a > ("throttle: refuse bps_max/iops_max without bps/iops") it is likely that > the user made a configuration error if iops-size has been set but no > iops limit has been set. > > Print an error message so the user can check their throttling > configuration. They should either remove iops-size if they don't want > any throttling or specify one of iops-total, iops-read, or iops-write. > > Signed-off-by: Stefan Hajnoczi Reviewed-by: Alberto Garcia Berto