Displaying 2 results from an estimated 2 matches for "fs_blkfree".
2007 Aug 30
0
[ufs-discuss] statvfs change
...own) the
>free space to some value/blocksize chosen by the filesystem itself. We
>just have to make this consistent. If:
>
> statvfs()
> statvfs64()
> 64bit statvfs()
>
>all return the same values, and:
>
> - freeing a unit fs_frsize adds ''1'' to fs_blkfree
> - allocating a unit fs_frsize subtracts ''1'' from fs_blkfree
> - an alloc attempt when fs_blkfree is zero must fail
>
>are met, we''re standards compliant, aren''t we ?
Yes.
>
>The standard, for statvfs(), doesn''t make any statement...
2007 Aug 27
17
statvfs change
An issue was found with the netBeans installer where
the installation was failing on a large ZFS filesystem.
This resulted in CR 6560644 (zfs statvfs f_frsize needs work).
The issue is that large filesystems can cause EOVERFLOW on
statvfs() calls. This behavior is documented in the statvfs(2)
man page, but I think we can do better.
The problem was initially reported against ZFS, and my first
fix