Received: from eggs.gnu.org ([2001:4830:134:3::10]:34816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhOQL-0000dp-E1 for qemu-devel@nongnu.org; Fri, 15 Nov 2013 13:47:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhOQE-00068v-4q for qemu-devel@nongnu.org; Fri, 15 Nov 2013 13:47:21 -0500 Received: from mail6.webfaction.com ([74.55.86.74]:41771 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhOQD-00068q-W2 for qemu-devel@nongnu.org; Fri, 15 Nov 2013 13:47:14 -0500 From: Charlie Shepherd Date: Fri, 15 Nov 2013 19:47:00 +0100 Message-Id: <1384541222-4170-1-git-send-email-charlie@ctshepherd.com> Subject: [Qemu-devel] [PATCH 0/2] COW: Speed up writes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, gabriel@kerneis.info, Charlie Shepherd , stefanha@gmail.com v4: - Rebase onto master - Fix compilation error v3: - Refix cow_update_bitmap and squash patches 1 & 3 together to ensuring that we only flush if necessary, patch 1 on its own would change this causing a regression. v2: - Fix bit position calculations in cow_update_bitmap - Add necessary check in cow_set_bits Following on from Paolo's commits 26ae980 and 276cbc7, this patchset implements some changes he recommended earlier which I didn't previously have time to do while on GSoC. Charlie Shepherd (2): COW: Speed up writes COW: Extend checking allocated bits to beyond one sector block/cow.c | 124 +++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 76 insertions(+), 48 deletions(-) -- 1.8.4.rc3