2016-07-20 16:21 GMT+03:00 Amos Jeffries <[email protected]>:
> * smpAware() is documented as indicating whether CF is allowed. Yet the
> the new comment inside the loop of Store::Disks::smpAware() seems to be
> saying the opposite.

As this patch says, collapsing for revalidation requests is not
supported for SMP-aware caches, i.e. if we have configured several
caches and even one of them is SMP-aware, the new feature should be
disabled.

> * collapsing requires Transients to exist yes?
>  So why disable Transients initialization when !smpAware() ?

Transients is not required for collapsing to work for:
* Non-SMP Squid.
* SMP Squid with SMP-unaware-caches(like if we had several independent
   Squid instances). In this configuration no sharing among workes
   is supposed. Since Transients is a sharing mechanism, it should be
   disabled in this case.


Eduard.
_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to