Skip to content
Snippets Groups Projects
  1. Aug 24, 2010
    • Michael Hanselmann's avatar
      Add simple lock monitor · 19b9ba9a
      Michael Hanselmann authored
      
      This patch adds an initial implementation of a lock monitor, accessible
      for the user through “gnt-debug locks”. It currently shows all resource
      locks: BGL, nodes and instances. Config and job queue locks could be
      shown too, but wouldn't be of much help.  The current owner(s) and mode
      are also shown.
      
      Showing pending acquires will require further changes on the SharedLock
      internals and is not yet implemented.
      
      Example output:
      $ gnt-debug locks -o name,mode,owner
      Name            Mode      Owner
      BGL/BGL         shared    JobQueue19/Job147
      instances/inst1 exclusive JobQueue19/Job147
      instances/inst2 -         -
      instances/inst3 -         -
      instances/inst4 -         -
      nodes/node1     exclusive JobQueue19/Job147
      nodes/node2     exclusive JobQueue19/Job147
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      19b9ba9a
    • Michael Hanselmann's avatar
      workerpool: Allow setting task name · daba67c7
      Michael Hanselmann authored
      
      With this patch, the task name is added to the thread name and will show up in
      logs. Log messages from jobs will look like “pid=578/JobQueue14/Job13 mcpu:289
      DEBUG LU locks acquired/cluster/BGL/shared”.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      daba67c7
  2. Aug 23, 2010
  3. Aug 18, 2010
  4. Aug 17, 2010
  5. Aug 10, 2010
  6. Aug 05, 2010
  7. Jul 30, 2010
  8. Jul 29, 2010
  9. Jul 28, 2010
  10. Jul 23, 2010
  11. Jul 16, 2010
  12. Jul 15, 2010
  13. Jul 13, 2010
  14. Jul 12, 2010
  15. Jul 09, 2010
  16. Jul 08, 2010
  17. Jul 07, 2010
  18. Jul 06, 2010
  19. Jul 02, 2010
Loading