Received: from eggs.gnu.org ([2001:4830:134:3::10]:56769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZteX1-0001Ug-1B for qemu-devel@nongnu.org; Tue, 03 Nov 2015 11:33:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZteWx-00029b-QH for qemu-devel@nongnu.org; Tue, 03 Nov 2015 11:33:58 -0500 Date: Tue, 3 Nov 2015 08:33:41 -0800 From: Jeff Cody Message-ID: <20151103163341.GB15533@localhost.localdomain> References: <1445644612-12702-1-git-send-email-jsnow@redhat.com> <1445644612-12702-4-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445644612-12702-4-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v10 03/14] block: rename BlkTransactionState and BdrvActionOps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: vsementsov@virtuozzo.com, famz@redhat.com, qemu-block@nongnu.org, armbru@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Fri, Oct 23, 2015 at 07:56:41PM -0400, John Snow wrote: > These structures are misnomers, somewhat. > > (1) BlockTransactionState is not state for a transaction, > but is rather state for a single transaction action. > Rename it "BlkActionState" to be more accurate. > > (2) The BdrvActionOps describes operations for the BlkActionState, > above. This name might imply a 'BdrvAction' or a 'BdrvActionState', > which there isn't. > Rename this to 'BlkActionOps' to match 'BlkActionState'. > > Lastly, update the surrounding in-line documentation and comments > to reflect the current nature of how Transactions operate. > > This patch changes only comments and names, and should not affect > behavior in any way. > > Signed-off-by: John Snow > Reviewed-by: Max Reitz > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Stefan Hajnoczi > Reviewed-by: Fam Zheng > Signed-off-by: Fam Zheng > --- > blockdev.c | 116 ++++++++++++++++++++++++++++++++++--------------------------- > 1 file changed, 65 insertions(+), 51 deletions(-) > just a heads up - this patch fails to apply on qemu master, so a rebase is probably in order (this series is based on qemu master, right?) (I'll review from your github branch for now)