]> git.ipfire.org Git - thirdparty/squid.git/commit - src/DiskIO/IpcIo/IpcIoFile.cc
Initial support for breaking the "do all queued I/Os" loop.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 21:02:27 +0000 (15:02 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 21:02:27 +0000 (15:02 -0600)
commitc792f7fc791479441b2eeb11b3c8ab890d4c7722
treeb955f0e2fa243ba771761286d64fdaff9c92cf4c
parentb8c758062f8bf47a37f1d3b35c626e699eab5807
Initial support for breaking the "do all queued I/Os" loop.

As the old TODO explained, it is necessary to break the loop to
give IpcIo notifications and other Squid process activities to
progress when many I/Os are queued or after a slow I/O blocks
the disker process for a while. More work is needed to break
based on cumulative I/O time rather than I/O count.

Added and polished debugging.
src/DiskIO/IpcIo/IpcIoFile.cc