| description | LD_PRELOAD library to make posix_fallocate fast on XFS |
| homepage URL | http://www.j3e.de/linux/libposix_fallocate_xfs/ |
| owner | bj@sernet.de |
| last change | Thu, 18 Feb 2010 09:09:06 +0000 |
| URL | git://repo.or.cz/libposix_fallocate_xfs.git |
| http://repo.or.cz/r/libposix_fallocate_xfs.git |
| Push URL | ssh://repo.or.cz/srv/git/libposix_fallocate_xfs.git |
Content tags:
|
|
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.