descriptionLD_PRELOAD library to make posix_fallocate fast on XFS
homepage URLhttp://www.j3e.de/linux/libposix_fallocate_xfs/
ownerbj@sernet.de
last changeThu, 18 Feb 2010 09:09:06 +0000 (18 10:09 +0100)
content tags
add:
readme
Unless you have Linux kernel 2.6.25 (or better) and glibc 2.4 (or better) posix_fallocate() will not make use of XFS' ability to preallocate space very fast using unwritten extents. This library maps you posix_fallocate() to an apropriate replacement function that uses the xfsctl to allocate the space. All that needs to be done is to add your libposix_fallocate_xfs.so to LD_PRELOAD or adopt /etc/ld.so.preload.
shortlog
2010-02-18 Björn Jackexfsctl sets errno, we need to return thismaster
2010-01-09 Björn Jackeinitial release
heads
14 years ago master