On 09/01/17 17:10, Jan Beulich wrote:
On 09.01.17 at 17:02, wrote:
>> On 09/01/17 15:38, Jan Beulich wrote:
>> On 05.12.16 at 08:48, wrote:
--- a/tools/xenstore/include/xenstore_lib.h
+++ b/tools/xenstore/include/xenstore_lib.h
@@ -44,6 +44,7 @@ struct xs_permissions
>>> On 09.01.17 at 17:02, wrote:
> On 09/01/17 15:38, Jan Beulich wrote:
> On 05.12.16 at 08:48, wrote:
>>> --- a/tools/xenstore/include/xenstore_lib.h
>>> +++ b/tools/xenstore/include/xenstore_lib.h
>>> @@ -44,6 +44,7 @@ struct xs_permissions
>>>
>>> /* Header of the node record in tdb. *
On 09/01/17 15:38, Jan Beulich wrote:
On 05.12.16 at 08:48, wrote:
>> --- a/tools/xenstore/include/xenstore_lib.h
>> +++ b/tools/xenstore/include/xenstore_lib.h
>> @@ -44,6 +44,7 @@ struct xs_permissions
>>
>> /* Header of the node record in tdb. */
>> struct xs_tdb_record_hdr {
>> +u
>>> On 05.12.16 at 08:48, wrote:
> --- a/tools/xenstore/include/xenstore_lib.h
> +++ b/tools/xenstore/include/xenstore_lib.h
> @@ -44,6 +44,7 @@ struct xs_permissions
>
> /* Header of the node record in tdb. */
> struct xs_tdb_record_hdr {
> + uint64_t generation;
> uint32_t num_perm
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