lkml.org 
[lkml]   [2009]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: ftruncate-mmap: pages are lost after writing to mmaped file.
    From
    Date
    On Tue, 2009-03-24 at 14:26 +0100, Jan Kara wrote:
    > On Tue 24-03-09 13:55:10, Jan Kara wrote:

    > > And one more interesting thing I don't yet fully understand - I see pages
    > > having PageError() set when they are removed from page cache (and they have
    > > been faulted in before). It's probably some interaction with pagecache
    > > readahead...
    > Argh... So the problem seems to be that get_block() occasionally returns
    > ENOSPC and we then discard the dirty data (hmm, we could give at least a
    > warning for that). I'm not yet sure why getblock behaves like this because
    > the filesystem seems to have enough space but anyway this seems to be some
    > strange fs trouble as well.
    >

    Ouch. Perhaps the free space is waiting on a journal commit?

    -chris




    \
     
     \ /
      Last update: 2009-03-24 15:25    [W:3.344 / U:0.564 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site