[Gluster-devel] [PATCH] Add support for min-free-disk in dht and the new nufa as a valid glusterfs size as well as p
plrca2 at gmail.com
plrca2 at gmail.com
Sat May 2 04:18:33 UTC 2009
Sorry, missed a line in my patch. Here it is:
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -53,6 +53,7 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie,
xlator_t *this,
goto out;
percent = (statvfs->f_bfree * 100) / statvfs->f_blocks;
+ bytes = (statvfs->f_bfree * statvfs->f_bsize);
LOCK (&conf->subvolume_lock);
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090502/5f0958c2/attachment-0003.html>
More information about the Gluster-devel
mailing list