[squid-dev] [PATCH] Collapse internal revalidation requests (SMP-unaware caches)
Alex Rousskov
rousskov at measurement-factory.com
Wed Jul 20 16:04:41 UTC 2016
On 07/17/2016 08:05 AM, Eduard Bagdasaryan wrote:
> + /// whether this storage is capable of serving multiple workers
> + virtual bool smpAware() const = 0;
The description is correct, but let's also document that smpAware()ness
does not say anything about non-SMP support, in case somebody tries to
use this method to detect misconfiguration errors:
/// whether this storage is capable of serving multiple workers;
/// a true result does not imply [lack of] non-SMP support because
/// [only] some SMP-aware storages also support non-SMP configs
virtual bool smpAware() const = 0;
Thank you,
Alex.
More information about the squid-dev
mailing list