lkml.org 
[lkml]   [2008]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 0/15] LogFS take five
    On Tue, Apr 01 2008, joern@logfs.org wrote:
    > And it is currently reasonably simple to run into a deadlock when
    > using logfs on a block device. The problem appears to be the block
    > layer allocating memory for its cache without GFP_NOFS, so that under
    > memory pressure logfs writes through block layer may recurse back to
    > logfs writes.

    So you mean for writes through the page cache, you are seeing pages
    allocated with __GFP_FS set?

    > Not entirely sure who is to blame for this bug and how to
    > solve it.

    A good starting point would be doing a stack trace dump in logfs if you
    see such back recursion into the fs. A quick guess would be a missing
    setting of mapping gfp mask?

    --
    Jens Axboe



    \
     
     \ /
      Last update: 2008-04-04 13:53    [W:2.931 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site