From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn0Ea-00052F-6a for qemu-devel@nongnu.org; Tue, 28 Apr 2015 03:47:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn0EV-0004Ag-Ui for qemu-devel@nongnu.org; Tue, 28 Apr 2015 03:47:12 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:18580 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn0EV-00048D-HK for qemu-devel@nongnu.org; Tue, 28 Apr 2015 03:47:07 -0400 From: "Denis V. Lunev" Date: Tue, 28 Apr 2015 10:46:33 +0300 Message-Id: <1430207220-24458-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH v4 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 , "Denis V. Lunev" , qemu-devel@nongnu.org, Stefan Hajnoczi , Roman Kagan 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. Changes from v4: - parallels format driver marked as bdrv_has_zero_init_1 - added missed unlocks to parallels_co_readv/writev on error path, locking is shortened and simplified - changed test number for created images - added check for bdrv_has_zero_init() and availability of bdrv_truncate() in parallels_open() and proper error handling in alloc_cluster - some patch comments are improved 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: Kevin Wolf CC: Stefan Hajnoczi