lkml.org 
[lkml]   [2003]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.158 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site