]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 30 Jun 2023 12:55:30 +0000 (00:55 +1200)
commit41aed2422ad8e5606b3f9d5e8fc18d02d259a0f2
tree6aaf535aea36659049e4962c9b6570d6b7e95221
parent91998615cc25d6b4566f8d11eb8ddc7242285bb0
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