Possible disk space issues #49
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: greg/machi#49
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problems:
append
and they never are trimmedchunk_extra
viaappend
never be writtenPossible resolutions:
FALLOC_FL_PUNCH_HOLE
option so that we can kill trimmed space. Wow. I found an answer right after I wrote a question.Problem 1, 2 are different from 3 as with
FALLOC_FL_PUNCH_HOLE
space are no more issue but overhead of keeping files in that way and never being collected, like inodes and so on.Shortcoming of resolution 3 is that makes Machi Linux-specific. A simple googling made me feel that for Solaris and FreeBSD there might be an API for punching hole in file.