]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed swap_file_sz calculation when loading rock entries. Polished debugging.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 15 Aug 2013 22:26:40 +0000 (16:26 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 15 Aug 2013 22:26:40 +0000 (16:26 -0600)
commitce44c1eab14b97a2fc9fbacc830f9224e675d49f
treeae8ecad6c92b3c004af8c8dab5fbe9760f556165
parent1ffb860202e1230cab555daed5ffcd8f131e8c96
Fixed swap_file_sz calculation when loading rock entries. Polished debugging.

Supply storeRebuildParseEntry() with known "swap file size" so that it can
adjust swap_file_sz after loading store entry meta info.  Entries are often
stored with swap_file_sz in the meta header missing the swap_hdr_len
component. storeRebuildParseEntry() adds swap_hdr_len when needed, using known
entry size to detect that need.
src/fs/rock/RockRebuild.cc