lkml.org 
[lkml]   [2008]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: very poor ext3 write performance on big filesystems?
    Mark Lord wrote:
    > Theodore Tso wrote:
    > ..
    >> The following ld_preload can help in some cases. Mutt has this hack
    >> encoded in for maildir directories, which helps.
    > ..
    >
    > Oddly enough, that same spd_readdir() preload craps out here too
    > when used with "rm -r" on largish directories.

    From looking at the code, I think I've found at least one bug in opendir:
    ...
    > dnew = realloc(dirstruct->dp,
    > dirstruct->max * sizeof(struct dir_s));
    ...

    Shouldn't this be: "...*sizeof(struct dirent_s));"?

    --
    Paulo Marques - www.grupopie.com

    "Nostalgia isn't what it used to be."


    \
     
     \ /
      Last update: 2008-02-19 20:01    [W:0.078 / U:34.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site