New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KDE Space Free #112
Comments
Here is the relevant code from KDE:
Is the following field being provided correctly for ZFS:
I think this probably should be same as f_bfree for ZFS because there is no concept of reservation for 'root' or 'admin' user. |
Thanks for looking this up. So the matching code on the ZFS side is located in zfs_statvfs(). The problem looks to be that KDE is using f_frsize() which is defined to be the fragment size (512b) instead of f_bsize (128k) which is the block size. It's then multiplied by the number of blocks. This isn't really the right usage but the API is confusing and inconsistent at best. It's probably best for us just to adjust how ZFS reports these values. We can either increase the fragment size to 128k, or drop the block size to 512 bytes. I'd like to try increasing the fragment size first, if you've got a minute please try this change to zfs_statvfs().
|
Brian, Can u please bundle this change with the patch you will have for the showstopper issue? I will try them both together. |
Absolutely, so far I think I understand almost all of the issues which have been opened so I'll work to resolve as many of them as I can next week. Then I'll target an -rc2 candidate once we've gotten the first crop issues out of the way. |
Increase fragment size to block size The underlying storage pool actually uses multiple block Closed by 05ff35c |
Signed-off-by: mayank <mayank.patel@cloudbyte.com>
I've been running some different workloads and ran into more trace! statements that were expensive. This commit changes more trace! statements to super_trace!
Devsk is reporting that when using ZFS as the root filesystem that KDE reports there being much less free space than there really is. We need to look in to how KDE is calculating free space in the filesystem and adjust ZFS to accommidate it.
The text was updated successfully, but these errors were encountered: