Skip to contentSkip to conversation

ms-queuedaemon: Update projection reports when idle

PATCH In review Ian Jackson 2 participants 2 messages Nov 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ms-queuedaemon: Update projection reports when idle

When the planning queue becomes empty, we update the plan. We should also update the projection.

I have cowboyed this change in the Cambridge instance's daemons-testing.git and tested it there.

---
 ms-queuedaemon |    1 +
 1 file changed, 1 insertion(+)
ms-queuedaemon +1 -0
index 6ae9677..08f88cf 100755
@@ -150,6 +150,7 @@ proc runneeded-perhaps-start {} {
     if {![llength $queue]} {
         plan-reset plan
         report-plan plan plan
+        report-projection plan
         return
     }
 
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Ian Jackson

When the planning queue becomes empty, we update the plan.  We should also update the projection.

I have cowboyed this change in the Cambridge instance's daemons-testing.git and tested it there.

Quoted 10 lines

---
 ms-queuedaemon |    1 +

 1 file changed, 1 insertion(+)
ms-queuedaemon +0 -0
index 6ae9677..08f88cf 100755
@@ -150,6 +150,7 @@ proc runneeded-perhaps-start {} {
      if {![llength $queue]} {
Quoted 6 lines

         plan-reset plan
         report-plan plan plan
+        report-projection plan
         return
     }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel