Skip to content
Snippets Groups Projects
  1. Dec 10, 2009
  2. Dec 02, 2009
  3. Nov 30, 2009
  4. Nov 11, 2009
  5. Nov 06, 2009
  6. Nov 05, 2009
  7. Nov 04, 2009
  8. Nov 03, 2009
  9. Nov 02, 2009
    • 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
  10. Oct 26, 2009
  11. Oct 20, 2009
  12. Oct 09, 2009
  13. Oct 06, 2009
  14. Oct 05, 2009
  15. Sep 22, 2009
  16. Sep 16, 2009
  17. Sep 03, 2009
  18. Aug 31, 2009
  19. Aug 28, 2009
  20. Aug 26, 2009
  21. Aug 24, 2009
  22. Aug 17, 2009
  23. Aug 13, 2009
  24. Aug 12, 2009
Loading