Skip to content
Snippets Groups Projects
  1. Dec 20, 2010
  2. Dec 15, 2010
    • Iustin Pop's avatar
      Update hscolour usage · 133f1791
      Iustin Pop authored
      
      This patch fixes two issues related to coloured sources generation.
      First, recent hscolour has changed the css file (and we need to update
      it), but it also can output it at runtime, so there's no need to store
      it anymore in the source tree.
      
      Second, the current source generation predates the addition of sources
      in Ganeti/ (as opposed to just Ganeti/HTools), and thus we were missing
      the sources in that directory. We replace the target file name to
      account for different base directories.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      133f1791
  3. Dec 09, 2010
  4. Dec 01, 2010
  5. Nov 28, 2010
  6. Nov 24, 2010
  7. Nov 23, 2010
    • Iustin Pop's avatar
      Merge branch 'devel-0.2' into master · a3e8da03
      Iustin Pop authored
      a3e8da03
    • Iustin Pop's avatar
      Improve the standard deviation computation · 7570569e
      Iustin Pop authored
      
      This does just two passes, instead of three, over the list. This reduces
      the overall runtime well enough (~25%) in some tests, but it's not
      reproducible using profiling, so I don't know how much the function
      itself is being sped-up.
      
      Note: this is written via `seq`s, and not BangPatterns. Since it's just
      one case, adding BangPatterns just for it wasn't a big gain.
      
      Thanks to Lécz Balázs for the impetus to improve this!
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      7570569e
    • Iustin Pop's avatar
      hbal: change handling of signal · 543e859d
      Iustin Pop authored
      
      Currently, hbal does a one-two signal handling, where the first signal
      causes graceful termination, and the second one an immediate on (either
      SIGINT or SIGTERM can be used, interchangeably). However, this poses a
      timing problem: if two programs want to send a graceful termination
      request, they cannot do that without careful coordination.
      
      To fix this, we change to code to handle the signal separately: SIGINT
      (^C) sends graceful termination, while SIGTERM sends immediate
      termination. This should allow easier controlling of hbal.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      543e859d
  8. Nov 19, 2010
Loading