[lkml]   [2008]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Very slow header cache in mutt if the maildir is on ext3
    On Wed, Dec 17, 2008 at 10:10:03AM +0100, Tino Keitel wrote:
    > On Tue, Dec 16, 2008 at 22:25:17 -0500, Theodore Tso wrote:
    > > I *thought* mutt had a patch which sorted the files returned by
    > > readdir() by inode number, and then opened the files sorted by inode
    > > number order; maybe it was a distro-specific patch that was never
    > > pushed back to mainline, though. In any case, sorting list of
    > It is in mutt upstream, and enabled by default, but only if
    > maildir_header_cache_verify is set. If not, the inode list is kept
    > unsorted. maildir_header_cache_verify is enabled by default, but I
    > disabled it in my muttrc.

    I just checked mutt 1.5.17 in Ubunty Hardy, and it sorts the inodes
    even if maildir_header_cache_verify is unset. (It sorts it earlier if
    that option is set, but a little later in the function, if it wasn't
    sorted earlier, it sorts it then.) Check for calls to maildir_sort()
    that use md_cmp_inode(); in my version of mutt, there are two such
    calls in mh.c:maildir_delayed_parsing().

    - Ted

     \ /
      Last update: 2008-12-17 13:41    [W:0.021 / U:4.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site