From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcBkN-00056x-Lr for qemu-devel@nongnu.org; Thu, 09 Oct 2014 07:19:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcBkF-0004kM-6x for qemu-devel@nongnu.org; Thu, 09 Oct 2014 07:19:03 -0400 Received: from [58.251.49.30] (port=39845 helo=mail.sangfor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcBkE-0004jg-QQ for qemu-devel@nongnu.org; Thu, 09 Oct 2014 07:18:55 -0400 Received: from localhost (mail.sangfor.com [127.0.0.1]) by mail.sangfor.com (Postfix) with ESMTP id F1CBF17C01AF for ; Thu, 9 Oct 2014 19:00:59 +0800 (CST) Received: from mail.sangfor.com ([127.0.0.1]) by localhost (mail.sangfor.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6iCDPuLz98CR for ; Thu, 9 Oct 2014 19:00:59 +0800 (CST) Received: from vv-PC (unknown [10.10.6.254]) by mail.sangfor.com (Postfix) with ESMTPA id 64BCB17C01AD for ; Thu, 9 Oct 2014 19:00:59 +0800 (CST) Date: Thu, 9 Oct 2014 19:17:55 +0800 From: "Zhang Haoyu" Message-ID: <201410091917519618804@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [question] is it posssible that big-endian l1 table offset referenced by other I/O while updating l1 table offset in qcow2_update_snapshot_refcount? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Hi, I encounter a problem that after deleting snaptshot, the qcow2 image size is very larger than that it should be displayed by ls command, but the virtual disk size is okay via qemu-img info. I suspect that during updating l1 table offset, other I/O job reference the big-endian l1 table offset (very large value), so the file is truncated to very large. Any ideas? Thanks, Zhang Haoyu