[lkml]   [1998]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: WEIRD ext2fs dir size BUG?
    Alan Cox <> writes:
    > > ... you can always rmdir and mkdir the directory to
    > > reclaim the extra blocks.
    > For some things like news servers an e2fsdefrag or e2fsck option to
    > compact directories might be useful.

    In the general case, if the number of files in a directory has previously
    hit some high-water mark, there's a chance it'll happen again, and having
    that much contiguous space allocated to the directory should be a win.

    Certainly, there may be cases of spewage causing really huge directories,
    and if steps have been made to prevent that happening again it would be
    useful to wind them back to a more reasonable size.

    What would be useful for news servers would be an option to defrag
    directories only, to thereby improve performance, and not bother with
    files that are probably going to get expired soon anyway.

    Anthony DeBoer <>

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:41    [W:0.018 / U:0.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site