diff options
author | shishir gowda <shishirng@gluster.com> | 2011-07-06 03:10:05 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-07 04:45:29 -0700 |
commit | a40c52707762258eddb35a63ee1f78bc4e0a52dd (patch) | |
tree | 063ff150878ae7642777f1edaeef7965d5a25df7 /libglusterfs | |
parent | a7cdaf3de307c96cb55219a0743962ee1e1fc955 (diff) |
dht disk usage: Correct free blk calculation
Use f_bavial instead of f_bfree for %free calculation
This fixes mismatch of df output wrt backend and glusterfs
where: f_bfree = /* # free blocks */
f_bavail; /* free blocks avail to non-superuser */
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 3084 (Correcting percent calculation of disk space)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3084
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions