Skip to content
Snippets Groups Projects
  1. Feb 26, 2010
    • Michael Hanselmann's avatar
      Fix two potentially endless loops in http library · 0be13136
      Michael Hanselmann authored
      
      The first can be problematic if poll(2) returns POLLHUP|POLLERR on a
      socket. Before it would be only be respected for SOCKOP_RECV, but since
      they can also occur on other socket operations, esp. in combination with
      OpenSSL, letting the socket functions handle POLLHUP|POLLERR seems to be
      the right thing.
      
      The second is a typo leading to an endless loop if the first line of an
      HTTP connection is empty (simply "\r\n"). Instead of removing the empty
      line, it would remove anything after it.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      0be13136
  2. Feb 04, 2010
  3. Feb 02, 2010
  4. Feb 01, 2010
  5. Jan 26, 2010
  6. Jan 25, 2010
  7. Dec 28, 2009
  8. Dec 18, 2009
  9. Dec 16, 2009
  10. Dec 14, 2009
  11. Dec 05, 2009
    • Iustin Pop's avatar
      Ship rapi.rst/rapi.html in the dist archive · 77220dd2
      Iustin Pop authored
      
      Patch 4352bf6d changed RAPI docs to RST from the previous SGML format
      (the last file to be converted to RST).
      
      However, it didn't add rapi.rst to the docrst Makefile variable, and as
      such rapi.html was neither build nor shipped in the archive. We fix this
      and we also distribute doc/rapi-resources.gen since otherwise “make
      distcheck” has issues (since this file is built and thus lives in _built
      whereas rapi.rst is shipped and lives in topsrcdir).
      
      Note: yes, this means that no 2.0 release until now had a rapi.html file
      (in the .tar.gz archive).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      77220dd2
  12. Sep 29, 2009
  13. Sep 25, 2009
  14. Sep 14, 2009
  15. Sep 11, 2009
  16. Sep 08, 2009
  17. Sep 07, 2009
    • Guido Trotter's avatar
      scripts/gnt-node: fix a help string · 862b1b2b
      Guido Trotter authored
      
      gnt-node modify says it wants an "<instance>". Changing it to
      "<node_name>" as for the other commands.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      862b1b2b
    • Iustin Pop's avatar
      Optimise multi-job submit · 009e73d0
      Iustin Pop authored
      
      Currently, on multi-job submits we simply iterate over the
      single-job-submit function. This means we grab a new serial, write and
      replicate (and wait for the remote nodes to ack) the serial file, and
      only then create the job file; this is repeated N times, once for each
      job.
      
      Since job identifiers are ‘cheap’, it's simpler to simply grab at the
      start a block of new IDs, write and replicate the serial count file a
      single time, and then proceed with the jobs as before. This is a cheap
      change that reduces I/O and reduces slightly the CPU consumption of the
      master daemon: submit time seems to be cut in half for big batches of
      jobs and the masterd cpu time by (I can't get consistent numbers)
      between 15%-50%.
      
      Note that this doesn't change anything for single-job submits and most
      probably for < 5 job submits either.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      009e73d0
    • Iustin Pop's avatar
      Extend gnt-debug with more debugging options · 9d95c3af
      Iustin Pop authored
      
      This patch extends gnt-debug to be able to submit multiple copies of the
      input jobs and job contents, in order to simplify testing. It also adds
      a timing mode, and splits the execution into separate submit and
      execution stages (for timing purposes).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      9d95c3af
Loading