From: Andrew Morton <akpm@linux-foundation.org>
To: "Guillaume Chazarain" <guichaz@yahoo.fr>
Cc: "Peter Zijlstra" <peterz@infradead.org>,
"Petr Tesarik" <ptesarik@suse.cz>, "Dave Chinner" <dgc@sgi.com>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
Andrea Arcangeli <andrea@novell.com>
Subject: Re: mmap behavior on out-of-space conditions
Date: Thu, 2 Aug 2007 11:52:43 -0700 [thread overview]
Message-ID: <20070802115243.610c4e61.akpm@linux-foundation.org> (raw)
In-Reply-To: <3d8471ca0708020618g5b7cf05dr350c25626137a13e@mail.gmail.com>
On Thu, 2 Aug 2007 15:18:33 +0200
"Guillaume Chazarain" <guichaz@yahoo.fr> wrote:
> 2007/8/2, Peter Zijlstra <peterz@infradead.org>:
>
> > I think Dave's block_page_mkwrite() stuff addresses this as well, no?
> >
> > http://lkml.org/lkml/2007/3/18/198
>
> I saw a similar problem some time ago with msync:
> http://lkml.org/lkml/2006/12/29/136 but Andrew didn't
> like my patch.
>
Yeah, we need to get that finished off.
The current _design_ of the VM/VFS is such that if the application runs
fsync() or msync() then it will be able to reliably detect any data loss
which has occurred, even if that data loss occurred during a random pageout
attempt by some other process half an hour ago.
However Guillaume has identified some holes in the implementation (I don't
recall the details, but that link is a start).
next prev parent reply other threads:[~2007-08-02 18:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 12:41 mmap behavior on out-of-space conditions Petr Tesarik
2007-08-02 13:06 ` Peter Zijlstra
2007-08-02 13:18 ` Guillaume Chazarain
2007-08-02 18:52 ` Andrew Morton [this message]
2007-08-02 22:20 ` David Chinner
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=20070802115243.610c4e61.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=andrea@novell.com \
--cc=dgc@sgi.com \
--cc=guichaz@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=ptesarik@suse.cz \
/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