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

Re: [Xen-devel] [PATCH v3 04/12] xenstore: add per-node generation counter



On Fri, Nov 11, 2016 at 09:00:02AM +0100, Juergen Gross wrote:
> In order to be able to support reading the list of a node's children in
> multiple chunks (needed for list sizes > 4096 bytes) without having to
> allocate a temporary buffer we need some kind of generation counter for
> each node. This will help to recognize a node has changed between
> reading two chunks.
> 
> As removing a node and reintroducing it must result in different
> generation counts each generation value has to be globally unique. This
> can be ensured only by using a global 64 bit counter.
> 
> For handling of transactions there is already such a counter available,
> it just has to be expanded to 64 bits and must be stored in each
> modified node.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.