Here's a patch against 2.4.18 that allows user space to flush a file from both the buffer cache and the page cache. The reason for flushing a file from the caches is to the read the file again to verify it made it to more permanent storage correctly. Someone may want to add similiar code to 2.5. Ross