Skip to content
Snippets Groups Projects
  1. Jan 06, 2011
  2. Dec 06, 2010
  3. Dec 01, 2010
  4. Nov 16, 2010
  5. Oct 28, 2010
  6. Sep 24, 2010
  7. Sep 10, 2010
  8. Sep 07, 2010
  9. Aug 27, 2010
  10. 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
  11. Aug 23, 2010
  12. Jul 16, 2010
    • Iustin Pop's avatar
      Implement lock names for debugging purposes · 7f93570a
      Iustin Pop authored
      
      This patch adds lock names to SharedLocks and LockSets, that can be used
      later for displaying the actual locks being held/used in places where we
      only have the lock, and not the entire context of the locking operation.
      
      Since I realized that the production code doesn't call LockSet with the
      proper members= syntax, but directly as positional parameters, I've
      converted this (and the arguments to GlobalLockManager) into positional
      arguments.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      7f93570a
  13. Jun 28, 2010
  14. Jun 11, 2010
  15. Jun 10, 2010
  16. Apr 21, 2010
  17. Feb 10, 2010
  18. Jan 27, 2010
  19. Jan 13, 2010
  20. Jan 04, 2010
  21. Dec 28, 2009
  22. Nov 25, 2009
  23. Oct 15, 2009
  24. Oct 13, 2009
  25. Oct 12, 2009
  26. Oct 02, 2009
  27. Oct 01, 2009
Loading