|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v4 05/13] tools/xenstore: use accounting buffering for node accounting
Hi Juergen, On 03/05/2023 06:13, Juergen Gross wrote: On 02.05.23 20:55, Julien Grall wrote:Hi Juergen, On 05/04/2023 08:03, Juergen Gross wrote:Add the node accounting to the accounting information buffering in order to avoid having to undo it in case of failure. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- tools/xenstore/xenstored_core.c | 21 ++------------------- tools/xenstore/xenstored_domain.h | 4 ++-- 2 files changed, 4 insertions(+), 21 deletions(-)diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.cindex 84335f5f3d..92a40ccf3f 100644 --- a/tools/xenstore/xenstored_core.c +++ b/tools/xenstore/xenstored_core.c@@ -1452,7 +1452,6 @@ static void destroy_node_rm(struct connection *conn, struct node *node) From my understanding, the nodes accounting will be temporary and then committed at the end of the request. So we would call acc_add_changed_dom() which may require allocation to hold the temporary accounting. Therefore, shouldn't we now check the error? (Possibly in a patch beforehand).I don't think so. I can add a comment if you want. See above. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |