]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not start rebuilding cache_dir (i.e., loading its index into RAM) until we
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 1 Feb 2011 20:27:13 +0000 (13:27 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 1 Feb 2011 20:27:13 +0000 (13:27 -0700)
commit9cfba26cada9c6aeedb2d11fe019c3b529e8405a
treedb87f3afeafba64f0bb565f93310b6b21a532282
parentc03c2bade2631aa8548db2b1aab1d9bd9667bdf5
Do not start rebuilding cache_dir (i.e., loading its index into RAM) until we
complete cache_dir initialization sequence, which ends in not in
Rock::SwapDir::init but in Rock::SwapDir::ioCompletedNotification where we
open the shared map or bail on errors.

It does not make sense to start loading index before the map is configured
because there will be no place to store loaded information.
src/fs/rock/RockSwapDir.cc