You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preallocation_strategy set to "sparse" has problems on FreeBSD / OS X
A beter default would be a {preallocation_strategy,best_guess} where it OS detects ( or file system detects if thats the cause of the issues) and choses the appropriate strategy. A user can still manually override if the wish.
The text was updated successfully, but these errors were encountered:
What happens when you write/seek off the end of the file?
Can the filesystem efficiently handle sparse files?
These two issues are actually orthogonal. The first one MUST use a preallocation strategy, but the second SHOULD use a preallocation strategy. A good bet is to make a check for the operating system first and then for the file system in question. Doing it in that order should solve most of these kinds of problems.
On the other hand, how do you reliably query for this information?
preallocation_strategy set to "sparse" has problems on FreeBSD / OS X
A beter default would be a {preallocation_strategy,best_guess} where it OS detects ( or file system detects if thats the cause of the issues) and choses the appropriate strategy. A user can still manually override if the wish.
The text was updated successfully, but these errors were encountered: