|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] xs transaction
Seems currently xenstore transaction provides confusing message
in different places:
a) comment of xs_transaction_start says "You can only have one
transaction at any time." However do_transaction_start allows up to
10 transactions created, as long as all other existing transaction
channel is idle at the time (conn->transaction == NULL)
b) when multiple transactions can be created, xenstore is not ready
to handle traffic in parallel. Only one conn->transaction exists
c) do_transaction_start says "/* We don't support nested transactions.
*/" by checking conn->transaction, but it can't handle nest case.
Conn->transaction only indicates whether traffic is on-going in other
transaction, instead of whether other transactions are created. Instead
conn->transaction_list should be checked for the purpose.
So what's expected usage for current xs transaction? Should xenstore
add check on parallel/nest case, or depend on caller to avoid?
Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] xs transaction,
Tian, Kevin <=
|
|
|
|
|