Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) Subject: kdb db2 back end: lock per database, not global X-RT-Original-Encoding: iso-8859-1 Content-Length: 461 Currently the kdb-db2 code has one big mutex for the whole plugin. We should only do locking per Kerberos database. If a KDC is using two databases, they should be handled independently. However, multiple threads doing file locking on one database via different file descriptors must coordinate. This isn't important until the KDC and other KDC-side server programs become multithreaded, and only if we find we encounter certain types of performance issues.