From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVdrk-0008Pt-Ey for qemu-devel@nongnu.org; Wed, 11 Mar 2015 06:27:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVdrf-0003y1-82 for qemu-devel@nongnu.org; Wed, 11 Mar 2015 06:27:52 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:21328 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVdre-0003tv-KF for qemu-devel@nongnu.org; Wed, 11 Mar 2015 06:27:46 -0400 From: "Denis V. Lunev" Date: Wed, 11 Mar 2015 13:27:54 +0300 Message-Id: <1426069701-1405-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH v3 0/27] write/create for Parallels images with reasonable performance List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Roman Kagan , Jeff Cody , qemu-devel@nongnu.org, Stefan Hajnoczi , "Denis V. Lunev" This patchset provides an ability to create of/write to Parallels images and some testing of the new code. Readings and writings are optimized out and I expect the same or slightly better performance as qcow2. This patchset consists of not problematic part of the previous patchset aka [PATCH v4 0/16] parallels format support improvements and new write/create code but it does not contradict questionable code with XML handling there. Changes from v3: - fixed checkpatch warnings even in just moved code. I am tired of them :) - fixed contingency check in patch 18 Changes from v2: - read performance is almost doubled (up to 360 Mb/sec), write performance is improved by 15-20% - bat caching approach changed completely. bat_bitmap now contains the data in on-disk format, which allows to use this data for metadata cache - incorrect close detection code is added (inuse field in the header) - very basic check consistency code added Changes from v1: - patches 13-19 added, which boosts performance from 800 KiB/sec to near native performance Signed-off-by: Denis V. Lunev CC: Roman Kagan CC: Jeff Cody CC: Kevin Wolf CC: Stefan Hajnoczi