Received: from eggs.gnu.org ([2001:4830:134:3::10]:33516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMwDJ-00007S-0p for qemu-devel@nongnu.org; Fri, 20 Sep 2013 04:37:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMwDD-0003BW-1T for qemu-devel@nongnu.org; Fri, 20 Sep 2013 04:37:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMwDC-0003BS-Hv for qemu-devel@nongnu.org; Fri, 20 Sep 2013 04:37:14 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8K8bDpU020447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Sep 2013 04:37:13 -0400 From: Max Reitz Date: Fri, 20 Sep 2013 10:37:05 +0200 Message-Id: <1379666231-10443-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] Configure metadata overlap checks at runtime List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz This series changes the way of selecting what metadata overlap checks to perform from (currently) using a macro to using a variable contained in BDRVQcowState which can be configured at runtime through several command line options. Although this does not seem necessary anymore regarding performance (because I could not find any performance hits using cached overlap checks), it seems cleaner to me this way. This series depends on: - qcow2: Correct snapshots size for overlap check Max Reitz (6): qcow2: Use negated overflow check mask qcow2: Make overlap check mask variable qcow2: Add overlap-check options qcow2: Array assigning options to OL check bits qcow2: Add more overlap check bitmask macros qcow2: Evaluate overlap check options block/qcow2-cache.c | 8 ++--- block/qcow2-cluster.c | 16 ++++----- block/qcow2-refcount.c | 22 ++++++------ block/qcow2-snapshot.c | 12 +++---- block/qcow2.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++--- block/qcow2.h | 30 ++++++++++++---- 6 files changed, 137 insertions(+), 44 deletions(-) -- 1.8.3.1