From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlFqc-0005pV-O9 for qemu-devel@nongnu.org; Tue, 26 Nov 2013 05:26:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlFqW-0004Qa-Gy for qemu-devel@nongnu.org; Tue, 26 Nov 2013 05:26:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlFqW-0004QR-9W for qemu-devel@nongnu.org; Tue, 26 Nov 2013 05:26:20 -0500 Message-ID: <52947734.80207@redhat.com> Date: Tue, 26 Nov 2013 11:25:56 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1385097894-1380-1-git-send-email-famz@redhat.com> <1385097894-1380-3-git-send-email-famz@redhat.com> <52938532.1080803@redhat.com> <52940262.2090406@redhat.com> <5294683F.8090004@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 2/7] block: Introduce op_blockers to BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Fam Zheng , hbrock@redhat.com, "qemu-devel@nongnu.org" , rjones@redhat.com, imain@redhat.com, Stefan Hajnoczi Il 26/11/2013 11:19, Fam Zheng ha scritto: >> So that you can add the same Error to multiple items of the array with a >> single bdrv_op_block call (by ORing them into the second parameter). > > What data type to contain this? I'm not sure 64 is enough in long term... I would just use an uint64_t, I think you have ~20 operations now. There is still quite some breathing room. Paolo