]> git.ipfire.org Git - thirdparty/squid.git/commit
Quieten UFS cache maintenance skipped warnings
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 4 Sep 2015 19:54:07 +0000 (12:54 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 4 Sep 2015 19:54:07 +0000 (12:54 -0700)
commitd842c91cf8e15ddaff8c6642fe17c47a61a6be84
tree4316b6f8c07992d474a0bb7d1afe3f77deffbcbd
parent533839e0fc067f48a3db328ccd993b921a085d4b
Quieten UFS cache maintenance skipped warnings

The maintenance loop cycles once per second. On long DIRTY cache rebuilds
this can reult in a lot of log mesages at level 1.

* reduce the messages to L=3 except once per minute allow one at L=1

* perform the under-size limit check first to allow completely silent
  skipping when no maintenance would have taken place anyway.
src/fs/ufs/UFSSwapDir.cc