linux-ftools – fallocate, fadvise, fincore from the command line.
We’re Open Sourcing some command line tools for accessing some modern system calls on Linux.
The project is named linux-ftools and is over on Google Code.
You’ll have to checkout the hg repo locally and build yourself for now.
Specifically fallocate, fadvise, and fincore (and a few other smaller tools).
They need a bit more cleanup , specifically error handling (and maybe a few more features).
I’d like to try to get these into Debian.
These were designed for use with MySQL but you might be able to use them in your setup as well.