]> git.ipfire.org Git - thirdparty/squid.git/commit
Use a time-based limit for the disker I/O loop.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 23:14:17 +0000 (17:14 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 23:14:17 +0000 (17:14 -0600)
commitfdb3059bfb1fbcbbe7d7df6ed5b15f773986b9c5
treea65c84ad768b799cf0d98cddb8a079255a7cffdb
parent3d31b6a5f02f541d11a02f26fe5315cc89e1959f
Use a time-based limit for the disker I/O loop.

Compared to the old counter-based limit, a time-based limit is better because
it allows us to quit right after a blocked I/O or quit sooner when I/Os become
slower.

Polished comments.
src/DiskIO/IpcIo/IpcIoFile.cc