]> git.ipfire.org Git - thirdparty/squid.git/commit
Added BaseMultiQueue class, a common base of the old FewToFewBiQueue class and
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Wed, 29 May 2013 16:04:40 +0000 (10:04 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 29 May 2013 16:04:40 +0000 (10:04 -0600)
commit807feb1d580d72cdc3d0847e30e474702078da18
treea42d70de5fb4b8bc0753c28d39f91d4262769675
parenta26c0ae319368368143f781a6eb6f263516ad363
Added BaseMultiQueue class, a common base of the old FewToFewBiQueue class and
the new MultiQueue class.

Added MultiQueue, a lockless fixed-capacity bidirectional queue for a limited
number processes. Any process may send data to and receive from any other
process (including itself). Used for collapsed forwarding notifications.

Added CollapsedForwarding class to send and handle received collapsed
forwarding notifications using MultiQueue.

Write partial Rock pages to disk in order to propagate data from the hit
writer to the collapsed hit readers. Send collapsed forwarding notification
after data was written to disk.

Missing code to share locked StoreMap entries, kick collapsed hit readers, and
to disable notifications in no-daemon mode.
src/CollapsedForwarding.cc [new file with mode: 0644]
src/CollapsedForwarding.h [new file with mode: 0644]
src/Makefile.am
src/fs/rock/RockIoState.cc
src/fs/rock/RockIoState.h
src/fs/rock/RockSwapDir.cc
src/ipc/Messages.h
src/ipc/Queue.cc
src/ipc/Queue.h
src/ipc/Strand.cc