qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-block] [PATCH v10 03/14] block: rename BlkTransac


From: John Snow
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v10 03/14] block: rename BlkTransactionState and BdrvActionOps
Date: Tue, 3 Nov 2015 12:32:13 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 11/03/2015 11:33 AM, Jeff Cody wrote:
> 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 <address@hidden>
>> Reviewed-by: Max Reitz <address@hidden>
>> Reviewed-by: Stefan Hajnoczi <address@hidden>
>> Signed-off-by: Stefan Hajnoczi <address@hidden>
>> Reviewed-by: Fam Zheng <address@hidden>
>> Signed-off-by: Fam Zheng <address@hidden>
>> ---
>>  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?)
> 

Yes, but is a week old. I'll rebase and re-upload to github. V11 will
follow.

> (I'll review from your github branch for now)
> 

Grazie.

--js



reply via email to

[Prev in Thread] Current Thread [Next in Thread]