Whamcloud - gitweb
libext2fs: grow dblist more aggressively
authorAndreas Dilger <adilger@sun.com>
Sun, 24 Aug 2008 03:17:17 +0000 (21:17 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Aug 2008 00:55:49 +0000 (20:55 -0400)
commit9f9e5c3aea024c92c50e8bb834a3ea33d9e1f55d
tree564a9fa701971abfa9029f8530d1b5453767dfd2
parentba7b0feef658456c514b51ded5bb1d9a3909d967
libext2fs: grow dblist more aggressively

Make the dblist grow more quickly when many directory blocks are added,
otherwise the array has to get copied too often, which is slow when it
is large.

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/dblist.c