Received: from eggs.gnu.org ([2001:4830:134:3::10]:58517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIGe0-0000xN-5S for qemu-devel@nongnu.org; Tue, 06 Jun 2017 11:43:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIGdw-0007EZ-72 for qemu-devel@nongnu.org; Tue, 06 Jun 2017 11:43:44 -0400 Received: from fanzine.igalia.com ([91.117.99.155]:42547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIGdv-0006sk-R9 for qemu-devel@nongnu.org; Tue, 06 Jun 2017 11:43:40 -0400 From: Alberto Garcia In-Reply-To: <20170605123908.18777-19-pbonzini@redhat.com> References: <20170605123908.18777-1-pbonzini@redhat.com> <20170605123908.18777-19-pbonzini@redhat.com> Date: Tue, 06 Jun 2017 17:43:00 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 18/19] block: split BlockAcctStats creation and setup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: famz@redhat.com On Mon 05 Jun 2017 02:39:07 PM CEST, Paolo Bonzini wrote: > block_acct_destroy is called unconditionally in blk_delete, but there is > no BlockAcctStats function that is called unconditionally in blk_new. > Split block_acct_init in two, so that it will be possible to create a > QemuMutex in block_acct_init and destroy it in block_acct_cleanup. > > Cc: Alberto Garcia > Signed-off-by: Paolo Bonzini Reviewed-by: Alberto Garcia Berto