1. 03 Nov, 2009 2 commits
  2. 02 Nov, 2009 1 commit
    • Iustin Pop's avatar
      Unify the query fields for the storage framework · 620a85fd
      Iustin Pop authored
      
      
      This patch unifies the query fields in the storage framework for all
      types. Note that the information is still computed on-demand, so if e.g.
      the used disk space is not requested for the ‘file’ type, it won't be
      computed on nodes.
      
      Summary of changes:
      - improve the LVM storage type to support multiple lvm fields in the
        LIST_FIELDS declaration and constant (not-computed via lvm commands)
        fields
      - rename utils.GetFilesystemFreeSpace to utils.GetFilesystemStats
        returning tuple of (total, free)
      - add used and free as valid fields for lvm-vg (use being computed as
        vg_size-vg_free)
      - make allocatable accepted for all types (ones which are always
        allocatable always return True)
      - add a new list field ‘type’ that gives the current selected type; not
        much useful today (except for understanding what the default output
        is) but in the future might help if we want to list multiple types
      - add type, size and allocatable to the default output field list
      - update the man page with details on how, for file storage, size ≠ used
        + free for non-mountpoint cases
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      620a85fd
  3. 26 Oct, 2009 1 commit
  4. 20 Oct, 2009 1 commit
  5. 09 Oct, 2009 1 commit
  6. 06 Oct, 2009 1 commit
  7. 05 Oct, 2009 3 commits
  8. 22 Sep, 2009 1 commit
  9. 16 Sep, 2009 4 commits
  10. 03 Sep, 2009 1 commit
  11. 31 Aug, 2009 1 commit
  12. 28 Aug, 2009 1 commit
  13. 26 Aug, 2009 1 commit
  14. 24 Aug, 2009 1 commit
  15. 17 Aug, 2009 2 commits
  16. 13 Aug, 2009 1 commit
  17. 12 Aug, 2009 4 commits
  18. 11 Aug, 2009 1 commit
  19. 10 Aug, 2009 5 commits
  20. 07 Aug, 2009 2 commits
  21. 06 Aug, 2009 2 commits
  22. 05 Aug, 2009 2 commits
  23. 04 Aug, 2009 1 commit