]> git.ipfire.org Git - thirdparty/squid.git/commit
Quiet down swap out error reporting.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 4 Feb 2011 22:25:45 +0000 (15:25 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 4 Feb 2011 22:25:45 +0000 (15:25 -0700)
commitde4bc0ea069c0aeb094d8ed0fd25d8cbbf3912e8
treee236732bdfb9ef7b12154076c0a3d3df01b3108d
parentf58bb2f4789906320d4e3bdba8bf4e32dfc1b0ff
Quiet down swap out error reporting.

Do not report swap out errors at level 1. When things go wrong, the already
bad situation is made worse by writing lots of error messages to cache.log.

Do not report system error because the errno may be stale or irrelevant.
If error details are needed, the code should save and propagate the actual
errno in addition to the DISK_ERROR or similar status.
src/store_swapout.cc