mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: nfs invalidates lose pte dirty bits
Date: Thu, 22 Dec 2005 18:30:49 -0500	[thread overview]
Message-ID: <1135294250.3685.16.camel@lade.trondhjem.org> (raw)
In-Reply-To: <20051222175550.GT9576@opteron.random>

On Thu, 2005-12-22 at 18:55 +0100, Andrea Arcangeli wrote:
> Hello Andrew,
> 
> this is yet another problem exposed by the new invalidate_inode_pages2
> semantics.
> 
> If a mapping has dirty data (pte dirty and page clean), and an
> invalidate triggers, the filemap_write_and_wait will do nothing, but the
> invalidate_inode_pages2 will destroy the pte dirty bit and discard the
> pagecache.

See the latest git release where we introduce the nfs_sync_mapping()
helper.

Cheers,
  Trond


  reply	other threads:[~2005-12-22 23:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 17:55 Andrea Arcangeli
2005-12-22 23:30 ` Trond Myklebust [this message]
2005-12-23  2:36   ` Andrea Arcangeli
2005-12-23  8:41     ` Trond Myklebust
2005-12-23 15:17       ` Andrea Arcangeli
2005-12-23 21:02         ` Trond Myklebust

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=1135294250.3685.16.camel@lade.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=akpm@osdl.org \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®