Messages in this thread | | | Date | Wed, 21 May 2003 18:38:14 +0100 | From | Christoph Hellwig <> | Subject | Re: Patch FIOFLUSH |
| |
On Wed, May 21, 2003 at 10:28:03AM -0700, Ross Biro wrote: > > 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.
This came up at SGI some time ago and the right solution is _not_ a new ioctl but fadvise(..., POSIX_FADV_DONTNEED). I'll submit a clean backport once 2.4.21 is out (if that will ever happen)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |