Re: [Qemu-devel] [PATCH v3 5/8] blockdev: rename BlkTransactionStates to singular

2013-05-15 Thread Wenchao Xia
> The QMP 'transaction' command keeps a list of in-flight transactions. > The transaction state structure is called BlkTransactionStates even > though it only deals with a single transaction. The only plural thing > is the linked list of transaction states. > > I find it confusing to call the sin

Re: [Qemu-devel] [PATCH v3 5/8] blockdev: rename BlkTransactionStates to singular

2013-05-15 Thread Eric Blake
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote: > The QMP 'transaction' command keeps a list of in-flight transactions. > The transaction state structure is called BlkTransactionStates even > though it only deals with a single transaction. The only plural thing > is the linked list of transaction s

[Qemu-devel] [PATCH v3 5/8] blockdev: rename BlkTransactionStates to singular

2013-05-15 Thread Stefan Hajnoczi
The QMP 'transaction' command keeps a list of in-flight transactions. The transaction state structure is called BlkTransactionStates even though it only deals with a single transaction. The only plural thing is the linked list of transaction states. I find it confusing to call the single structur