DragonFly-2.3.1.497.g0f65b master sys/vfs/hammer hammer.h hammer_blockmap.c hammer_vfsops.c

Antonio Huete Jimenez ahuete.devel at gmail.com
Mon Jun 29 12:46:04 PDT 2009


Hi,As discussed the thing is that df(1) seems uses statfs() for reporting space. I don't know if this can become an issue with very large FS.I've just added the same code applied for hammer_vfs_statvfs() to hammer_vfs_statfs() in the patch attached.
After trying it a bit I got negative space reported by df(1) when the FS is full. I freed up some space and pruning everything, but I kept seeing negative space, problably due the size of the FS itself (6GB). I'm not going to look on this further by now.
Cheers,Antonio
Attachment:
hammer01.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 1521 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20090629/071f6466/attachment-0017.bin>


More information about the Commits mailing list