Received: from eggs.gnu.org ([2001:4830:134:3::10]:40735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxyiX-0007Gp-4v for qemu-devel@nongnu.org; Thu, 28 May 2015 10:23:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxyiQ-0001m1-U4 for qemu-devel@nongnu.org; Thu, 28 May 2015 10:23:29 -0400 From: Alberto Garcia In-Reply-To: <1432822629-25401-1-git-send-email-pbonzini@redhat.com> References: <1432822629-25401-1-git-send-email-pbonzini@redhat.com> Date: Thu, 28 May 2015 16:21:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] blockdev: no need to drain+flush in hmp_drive_del List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: armbru@redhat.com, "open list:Block layer core" On Thu 28 May 2015 04:17:09 PM CEST, Paolo Bonzini wrote: > bdrv_close already does that, and in fact hmp_drive_del would need > another drain after the flush (which bdrv_close does). So remove > the duplication. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alberto Garcia Berto