Bump up the nr of blocks in the cache from 64 to 1024.

This commit is contained in:
Joe Thornber 2013-05-13 12:34:52 +01:00
parent 08c5fde04f
commit 0dba0abe88

View File

@ -344,7 +344,7 @@ block_manager<BlockSize>::block_manager(std::string const &path,
unsigned max_concurrent_blocks,
typename block_io<BlockSize>::mode mode)
: io_(new block_io<BlockSize>(path, nr_blocks, mode)),
cache_(max(64u, max_concurrent_blocks)),
cache_(max(1024u, max_concurrent_blocks)),
tracker_(0, nr_blocks)
{
}