From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W271E-00049t-96 for qemu-devel@nongnu.org; Sat, 11 Jan 2014 17:27:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2717-0003bE-KA for qemu-devel@nongnu.org; Sat, 11 Jan 2014 17:27:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2717-0003bA-4m for qemu-devel@nongnu.org; Sat, 11 Jan 2014 17:26:57 -0500 Message-ID: <52D1C58F.9040404@redhat.com> Date: Sat, 11 Jan 2014 23:28:31 +0100 From: Max Reitz MIME-Version: 1.0 References: <1386940979-3824-1-git-send-email-kwolf@redhat.com> <1386940979-3824-18-git-send-email-kwolf@redhat.com> In-Reply-To: <1386940979-3824-18-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 17/24] block: Generalise and optimise COR serialisation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-devel@nongnu.org Cc: pbonzini@redhat.com, pl@kamp.de, stefanha@redhat.com On 13.12.2013 14:22, Kevin Wolf wrote: > Change the API so that specific requests can be marked serialising. Only > these requests are checked for overlaps then. > > This means that during a Copy on Read operation, not all requests > overlapping other requests are serialised any more, but only those that > actually overlap with the specific COR request. > > Also remove COR from function and variable names because this > functionality can be useful in other contexts. > > Signed-off-by: Kevin Wolf > --- > block.c | 48 ++++++++++++++++++++++++++++------------------- > include/block/block_int.h | 5 +++-- > 2 files changed, 32 insertions(+), 21 deletions(-) Reviewed-by: Max Reitz