]> git.ipfire.org Git - thirdparty/squid.git/commit - src/fs/rock/RockRebuild.cc
Centralized PagePool/PageStack ID generation (#525)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 24 Dec 2019 18:10:49 +0000 (18:10 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 25 Dec 2019 15:07:55 +0000 (15:07 +0000)
commit1fe7f70fb1b9f57e87549c0a64921e19a38079c0
treecd2679854d62d7514cb58426b027ebfd26dfe03a
parentc3408a33f88a3dc3c00f7fb35a3fa96235057191
Centralized PagePool/PageStack ID generation (#525)

Easy-to-find-in-cache.log and predictable/stable stack IDs for shared
memory pages and/or index slot numbers are very useful when debugging
cache metadata corruption issues because they allow to track related
(e.g. same-stack) operations across huge SMP logs.
src/MemStore.cc
src/fs/rock/RockRebuild.cc
src/fs/rock/RockSwapDir.cc
src/ipc/Makefile.am
src/ipc/mem/Page.h
src/ipc/mem/PagePool.cc
src/ipc/mem/PagePool.h
src/ipc/mem/PageStack.cc
src/ipc/mem/PageStack.h
src/ipc/mem/Pages.cc
src/ipc/mem/forward.h [new file with mode: 0644]