All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Ross Biro <rossb@google.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Patch FIOFLUSH
Date: Wed, 21 May 2003 18:38:14 +0100	[thread overview]
Message-ID: <20030521183814.A1291@infradead.org> (raw)
In-Reply-To: <3ECBB723.7070707@google.com>; from rossb@google.com on Wed, May 21, 2003 at 10:28:03AM -0700

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)


  reply	other threads:[~2003-05-21 17:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 17:28 Patch FIOFLUSH Ross Biro
2003-05-21 17:38 ` Christoph Hellwig [this message]
2003-05-21 17:44   ` Marc-Christian Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030521183814.A1291@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rossb@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.