lkml.org 
[lkml]   [2011]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 06/12] inode: Make unused inode LRU per superblock
    On Thu, Jun 02, 2011 at 05:01:01PM +1000, Dave Chinner wrote:
    > From: Dave Chinner <dchinner@redhat.com>
    >
    > The inode unused list is currently a global LRU. This does not match
    > the other global filesystem cache - the dentry cache - which uses
    > per-superblock LRU lists. Hence we have related filesystem object
    > types using different LRU reclaimation schemes.
    >
    > To enable a per-superblock filesystem cache shrinker, both of these
    > caches need to have per-sb unused object LRU lists. Hence this patch
    > converts the global inode LRU to per-sb LRUs.
    >
    > The patch only does rudimentary per-sb propotioning in the shrinker
    > infrastructure, as this gets removed when the per-sb shrinker
    > callouts are introduced later on.

    What protects s_nr_inodes_unused?


    \
     
     \ /
      Last update: 2011-06-04 02:29    [W:0.025 / U:0.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site