fuse_operations.fallocate

Allocates space for an open file

This function ensures that required space is allocated for specified file. If this function returns success then any subsequent write request to specified range is guaranteed not to fail because of lack of space on the file system media.

Introduced in version 2.9.1

struct fuse_operations
int function(const char*, int, off_t, off_t, fuse_file_info*) fallocate;

Meta