]> git.ipfire.org Git - thirdparty/squid.git/commit - src/Makefile.am
Merge in current state of store refactoring work. The search method has been
authorrobertc <>
Mon, 3 Jan 2005 23:08:24 +0000 (23:08 +0000)
committerrobertc <>
Mon, 3 Jan 2005 23:08:24 +0000 (23:08 +0000)
commitc8f4eac4b12f831b82d87754a5a134e0fbd4108e
tree3c629ff4746681ae917b96549994e502257875a5
parentc99c5397a1671582804dede2907b533a6b195a21
Merge in current state of store refactoring work. The search method has been
fully implemented for all current store types.

Patches applied:

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--base-0
   tag of robertc@squid-cache.org--squid/squid--HEAD--3.0--patch-516

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-1
   merge in the diskio logic cleanup we depend on

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-2
   setup a unit test environment for store.cc

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-3
   merge from HEAD

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-4
   start formal store interface refactoring, moving stat into the Store hierarchy

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-5
   make SwapDirs reference counted, test StoreControllers new methods

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-6
   move storeDirInit to be just the virtual init method on Store

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-7
   nuke Config.Swap.maxSize for calls to Store::Root().maxSize()

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-8
   migrate Reference and dereference to StoreController

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-9
   make store maintenance a top level Store api call

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-10
   move storeDirUpdateSize to Store interface

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-11
   move store creation into the Store API

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-12
   move storeDirSync into the Store API

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-13
   more INDEXSD nuking, and push the swapdir aspects of store statting into SwapDir

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-14
   more INDEXSD nuking. move SwapDir.low_size to a minSize() query

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-15
   another INDEXSD removal, storeDirCallback folded into the Store API

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-16
   correct logic error in StoreController::Callback from previous changes

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-17
   storeUnlink -> StoreEntry::unlink

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-18
   snapshot, beginning the introduction of a separate HashIndex store layer

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-19
   clean up store entry construction a little

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-20
   setup Ufs testing harness

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-22
   make RemovalPolicySettingsa class

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-23
   make testUfs use a real UFSSwapDir

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-24
   testUfs should clean up after it succeeds

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-25
   merge from HEAD

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-26
   wave enough dead chickens that we can set a store object to public

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-27
   get testUfs to put an object in the store successfully

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-28
   get testUfs to save clean log state

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-29
   let rebuild work fully on testUfs, so we can start adapting RebuildState to being a StoreSearch

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-30
   implement basic search for UFSSwapDirs

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-31
   check UFS search iteration stops

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-32
   convert RebuildState to CDBATA_CLASS2

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-33
   switch from log based searching to replacement policy based searching for UFSSwapDirs

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-34
   rename variable s to swapData in UFS restore from directory routine

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-35
   store rebuilds need to check for duplicates across the entire store.

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-36
   start testing COSS - store creation for starters

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-37
   make StoreSearch a header of its own, and implement search(NULL,NULL) for COSS

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-38
   start testing the Null store type

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-39
   implement null store search(NULL, NULL)

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-40
   remove a couple of unneded SwapDir.h includes

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-41
   move search one level up in the Store hierarchy

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-42
   test the rudiments of StoreHashIndex

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-43
   move hash initialisation into StoreHashIndex::init

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-44
   oops, forgot new files

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-45
   implement search for StoreHashIndex

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-46
   void * apis suck badly. fix a casting problem with destroyStoreEntry

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-47
   implement search for StoreController

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-48
   convert store object statting to use the StoreSearch api

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-49
   convert cache digests to the store search api

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-50
   convert store cleanup callback to use the store api

 * robertc@squid-cache.org--squid/squid--store-interface--3.0--patch-51
   merge from HEAD
74 files changed:
ChangeLog
include/Array.h
src/DiskIO/DiskDaemon/DiskdIOStrategy.cc
src/DiskIO/DiskThreads/DiskThreadsDiskFile.cc
src/Makefile.am
src/MemObject.cc
src/Parsing.cc [new file with mode: 0644]
src/Parsing.h [new file with mode: 0644]
src/Store.cci
src/Store.h
src/StoreHashIndex.h [new file with mode: 0644]
src/StoreSearch.h [new file with mode: 0644]
src/String.cc
src/SwapDir.cc
src/SwapDir.h
src/cache_cf.cc
src/cf.data.pre
src/defines.h
src/disk.cc
src/fs/coss/CossSwapDir.h
src/fs/coss/store_dir_coss.cc
src/fs/null/store_null.cc
src/fs/null/store_null.h
src/fs/ufs/store_dir_ufs.cc
src/fs/ufs/ufscommon.cc
src/fs/ufs/ufscommon.cci
src/fs/ufs/ufscommon.h
src/http.cc
src/list.cc [new file with mode: 0644]
src/main.cc
src/neighbors.cc
src/net_db.cc
src/peer_digest.cc
src/protos.h
src/snmp_agent.cc
src/squid.h
src/stat.cc
src/store.cc
src/store_digest.cc
src/store_dir.cc
src/store_io.cc
src/store_rebuild.cc
src/store_swapout.cc
src/structs.h
src/tests/TestSwapDir.cc [new file with mode: 0644]
src/tests/TestSwapDir.h [new file with mode: 0644]
src/tests/stub_HttpReply.cc [new file with mode: 0644]
src/tests/stub_HttpRequest.cc
src/tests/stub_MemObject.cc [new file with mode: 0644]
src/tests/stub_comm.cc [new file with mode: 0644]
src/tests/stub_fd.cc [new file with mode: 0644]
src/tests/stub_http.cc [new file with mode: 0644]
src/tests/stub_internal.cc [new file with mode: 0644]
src/tests/stub_mem_node.cc [new file with mode: 0644]
src/tests/stub_stmem.cc [new file with mode: 0644]
src/tests/stub_store_client.cc [new file with mode: 0644]
src/tests/stub_store_rebuild.cc [new file with mode: 0644]
src/tests/stub_store_swapout.cc [new file with mode: 0644]
src/tests/stub_tools.cc [new file with mode: 0644]
src/tests/testCoss.cc [new file with mode: 0644]
src/tests/testCoss.h [new file with mode: 0644]
src/tests/testNull.cc [new file with mode: 0644]
src/tests/testNull.h [new file with mode: 0644]
src/tests/testStore.cc [new file with mode: 0644]
src/tests/testStore.h [new file with mode: 0644]
src/tests/testStoreController.cc [new file with mode: 0644]
src/tests/testStoreController.h [new file with mode: 0644]
src/tests/testStoreHashIndex.cc [new file with mode: 0644]
src/tests/testStoreHashIndex.h [new file with mode: 0644]
src/tests/testUfs.cc [new file with mode: 0644]
src/tests/testUfs.h [new file with mode: 0644]
src/tools.cc
src/typedefs.h
test-suite/test_tools.cc