From: Alessio Podda Date: Tue, 19 Aug 2025 13:00:47 +0000 (+0000) Subject: chg: dev: Remove opportunistic node cleaning from qpzone X-Git-Tag: v9.21.12~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a84604e232ab6123258fc6a0a526d77ffddd587;p=thirdparty%2Fbind9.git chg: dev: Remove opportunistic node cleaning from qpzone Currently, when releasing a qpznode after a read operation, we will check if the node is dirty due to a previous write, upgrade the lock to a write lock and perform a cleanup. An unintended side effect of this is that protecting a node by increasing the reference count must also protect its parent database. For the very common case where only one zone is configured, this is a non-trivial source of contention, as the same refcount will be hit by all threads. This MR removes the opportunistic cleaning and the database refcount, reducing contention. Cleaning will be done only on closeversion. Merge branch 'alessio/remove-opportunistic-node-cleaning' into 'main' See merge request isc-projects/bind9!10814 --- 3a84604e232ab6123258fc6a0a526d77ffddd587