docs: remove wrong statement about bug in xenstore
PATCH v2 1/1 docs: remove wrong statement about bug in xenstore
docs/misc/xenstore.txt states that xenstored will use "0" as a valid transaction id after 2^32 transactions. This is not true. Only oxenstored has this bug.
---
v2: oxenstored has this bug
--- docs/misc/xenstore.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
docs/misc/xenstore.txt +3 -1
@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction. + xenstored (the implementation written in C) doesn't have this + bug. TRANSACTION_END T| TRANSACTION_END F|
Signature · 7 lines
2.6.6 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.
While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 14 lines · Jan Beulich
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Do we really still support 32 bit dom0? I thought the support has ended some time ago?
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Jan Beulich
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Quoted 2 lines
Do we really still support 32 bit dom0? I thought the support has ended some time ago?
Yes, we still support that.
It is the support of 32 bit Xen that has ended.
Wei.
Quoted 3 lines
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 17 lines · Wei Liu
Quoted 16 lines · Juergen Gross
Quoted 14 lines · Jan Beulich
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Quoted 6 lines
Quoted 2 lines
Do we really still support 32 bit dom0? I thought the support has ended some time ago?
Yes, we still support that.
It is the support of 32 bit Xen that has ended.
Okay, do we need to specify the exact conditions where the bug will occur, or is v2 of the patch okay, as it is clearly more accurate than the original text?
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 16:43, <[email protected]> wrote:
Quoted 14 lines · Jan Beulich
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Quoted 2 lines
Do we really still support 32 bit dom0? I thought the support has ended some time ago?
I don't recall any statement to that effect.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 21 lines · Juergen Gross
Quoted 20 lines · Wei Liu
Quoted 18 lines · Juergen Gross
Quoted 14 lines · Jan Beulich
docs/misc/xenstore.txt TRANSACTION_START | <transid>| · line 233
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 24.10.16 at 15:29, <[email protected]> wrote:
docs/misc/xenstore.txt +1
-1@@ -229,8 +229,10 @@ TRANSACTION_START | <transid>| tx_id request header field. When transaction is started whole db is copied; reads and writes happen on the copy. It is not legal to send non-0 tx_id in TRANSACTION_START. - Currently xenstored has the bug that after 2^32 transactions + Currently oxenstored has the bug that after 2^32 transactions it will allocate the transid 0 for an actual transaction.While I know nothing about OCaml, I read Andrew's earlier reply to mean different behavior would result than the one described, namely differing between 32-bit and 64-bit builds.
Do we really still support 32 bit dom0? I thought the support has ended some time ago?
Quoted 8 lines
Quoted 3 lines
Yes, we still support that.
It is the support of 32 bit Xen that has ended.
Okay, do we need to specify the exact conditions where the bug will occur, or is v2 of the patch okay, as it is clearly more accurate than the original text?
Having the this patch go in as-is is not accurate. You probably don't know the details about ocaml implementations, so I think it would fine for Andrew to come up with something more accurate.
How about:
Currently oxenstored has the bug that after the internal representation of transaction id gets overflowed, 0 is returned.
Wei.
Quoted 3 lines
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel