lkml.org 
[lkml]   [2007]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap behavior on out-of-space conditions
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).

-
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: 2007-08-02 20:57    [W:0.081 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site