On Jun 18, 2011, at 8:44 AM, Fyodor Ustinov wrote:

> Hi!
> 
> 1-st. Mount by kernel:
> 
> root@stb1:~# df /mnt
> Filesystem           1K-blocks      Used Available Use% Mounted on
> 10.5.51.230:/        51409168384 799601664 49637535744   2% /mnt
> 
> 2-nd. Mount by cfuse:
> 
> root@stb1:~# df /mnt
> Filesystem           1K-blocks      Used Available Use% Mounted on
> cfuse                51409169084 1771587996 49637581088   4% /mnt
> 
> Hmm... All different. It's correct? Who should I believe?
> 
> kernel 3.0.0-rc3
> ceph - 0.29.1
> 
> WBR,
>    Fyodor.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

In this case, cfuse is probably more accurate -- the kernel client is doing 
some acrobatics with the page size
so it can handle larger filesystems, but it trades off in accuracy for it. The 
kernel client is also just using a roundabout method for calculating free 
space, which we can change. Now that you've pointed it out though, we should 
have the userspace client do the same tradeoff for supporting a larger FS!
-Greg--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to