lkml.org 
[lkml]   [2007]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] remove sb->s_files and file_list_lock usage in dquot.c
    From
    On Tue, Feb 06, 2007 at 02:23:33PM +0100, Christoph Hellwig wrote:
    > Iterate over sb->s_inodes instead of sb->s_files in add_dquot_ref.
    > This reduces list search and lock hold time aswell as getting rid of
    > one of the few uses of file_list_lock which Ingo identified as a
    > scalability problem.

    Christoph,

    The i_mutex lock the inode structure is also a source of contention
    heavy when running a lot of parallel "find"s. I'm sure that folks
    would be open to hearing suggestions regarding how to fix that.

    bill

    -
    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-02-08 10:05    [W:0.031 / U:0.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site