]> git.ipfire.org Git - thirdparty/squid.git/commit
Documentation: Update stale SMP cache_dir caveats (#1394)
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 23 Jun 2023 23:05:27 +0000 (23:05 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 24 Jun 2023 02:17:27 +0000 (02:17 +0000)
commit62d711a8456c848779c4d3a585c5dd485fa7a227
treec6449a3b10eea152b61ca753167cf1416da4e4c3
parenta186e0d91d2555de6e7d4d5ee3efedba1fdf19e7
Documentation: Update stale SMP cache_dir caveats (#1394)

The requirement to specify "workers" before "cache_dir" was added in
2010 commit acf69d7. It became obsolete since 2011 commit 095ec2b.

The "dedicated cache directory" hack for UFS-based stores has always led
to HTTP violations, but the increased complexity of worker-to-worker
synchronization code (required to improve HTTP support) also increased
the probability of crashes or worse outcomes when SMP conditionals are
used. Those hacks violate the "all processes see the same configuration"
and similar basic code assumptions. We do not test (and usually do not
even consider the needs of) such unsupported configurations.
src/cf.data.pre