WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Always fire watches, even on the connection which caused

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Always fire watches, even on the connection which caused the watch to fire.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 12:32:11 +0000
Delivery-date: Mon, 12 Sep 2005 12:30:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID b594bb976a743d509f1ffabb5bc698874ab90d8f
# Parent  3feb7fa331edc8f1f49223027bbde9ae695c4d38
Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 3feb7fa331ed -r b594bb976a74 tools/xenstore/xenstored_watch.c
--- a/tools/xenstore/xenstored_watch.c  Sun Sep 11 16:44:23 2005
+++ b/tools/xenstore/xenstored_watch.c  Mon Sep 12 12:31:41 2005
@@ -135,11 +135,8 @@
        if (conn && conn->transaction)
                return;
 
-       /* Create an event for each watch.  Don't send to self. */
+       /* Create an event for each watch. */
        list_for_each_entry(i, &connections, list) {
-               if (i == conn)
-                       continue;
-
                list_for_each_entry(watch, &i->watches, list) {
                        if (is_child(node, watch->node))
                                add_event(i, watch, node);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Always fire watches, even on the connection which caused the watch to fire., Xen patchbot -unstable <=