author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Mon, 15 Nov 2010 22:59:35 +0000 (23:59 +0100) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Mon, 15 Nov 2010 22:59:35 +0000 (23:59 +0100) | ||
commit | 77f2c84d2f599d86a60586494169dcab17853e3a | |
tree | e964e05b70aff5f5b9ee7ff457b7c165db5f66aa | tree | snapshot |
parent | 896962a1ad1b7d7c75d42c565b06cc799feb0a7c | commit | diff |
Fix check_disk free space calculation if blocksizes differ within a disk group (Bekar - #2973603)
Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in
the parameter_list structure. Assignments have been moved to a subroutine preventing
code redundancies.
Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation
when blocksizes differ within a group.
Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in
the parameter_list structure. Assignments have been moved to a subroutine preventing
code redundancies.
Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation
when blocksizes differ within a group.
NEWS | diff | blob | history | |
lib/utils_disk.c | diff | blob | history | |
lib/utils_disk.h | diff | blob | history | |
plugins/check_disk.c | diff | blob | history |