From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR0fJ-0004nu-7j for qemu-devel@nongnu.org; Mon, 08 Sep 2014 11:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR0fA-00047e-QZ for qemu-devel@nongnu.org; Mon, 08 Sep 2014 11:15:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR0fA-00047Z-Ip for qemu-devel@nongnu.org; Mon, 08 Sep 2014 11:15:28 -0400 Message-ID: <540DC7FB.1040804@redhat.com> Date: Mon, 08 Sep 2014 17:15:07 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1409935888-18552-1-git-send-email-pl@kamp.de> <1409935888-18552-3-git-send-email-pl@kamp.de> <20140908134434.GB22582@irqsave.net> <540DB3E2.6010905@redhat.com> <540DB583.4030101@kamp.de> <540DB5EB.2070705@redhat.com> <540DBEBD.9040701@kamp.de> <540DC059.4000907@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] block: immediately cancel oversized read/write requests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronnie sahlberg Cc: =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , Kevin Wolf , Peter Lieven , qemu-devel , Max Reitz , Stefan Hajnoczi Il 08/09/2014 17:13, ronnie sahlberg ha scritto: > > What I would like to see would also be to report these limitations to > the guest itself to prevent it from generating too large I/Os. That's difficult because you don't want a backend change (e.g. from local storage to iSCSI) to change the vital product data in the guest. That's why we have splitting code for discard, and why we would have to add it for read/write too. Paolo