libfallocate provides an interface for applications to tell filesystems about the size of to-be-written files, so the filesystem can do a better job in taking allocation decisions to avoid fragmentation.
libfallocate provides a wrapper for the fallocate() syscall in case your glibc (<2.10) does not have it yet. It also provides linux_fallocate() which will attempt the space reservation ioctl that xfs and ocfs2 provide in case fallocate() did not succeed.
It has an additional richer interface fallocate_with_fallback() that allows you to instruct it to fallback to do preallocation by zeroing things out (like posix_fallocate()) or to extend the file size by a sparse write (like a successful fallocate() with mode==0 would have done).
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.1.1-bp156.4.3 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
0.1.1-bp155.3.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.1.1-bp154.2.19 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.1.1-bp153.1.17 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.1.1-bp152.3.14 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.1.1-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.1.1-bp151.2.15 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.1.1-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|