Matthew Jackson 1c29377780 parse the keydb outside the cache lock
cached_db held self.cache locked across the full KeyDb::load_counted parse of the ~62 MiB keydb, so a reparse (triggered by a changed mtime) stalled every other worker waiting on the cache. Take a brief lock for the fast-path settled-cache-hit check, release it, parse outside the lock, then re-acquire and double-check: if a peer installed the same settled stamp while we parsed, adopt their entry and drop our redundant parse rather than racing a lost update. Stamp and bytes still come from the one already-open file handle, preserving the one-open-one-identity invariant.
2026-09-05 12:37:59 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-09-02 12:27:48 -07:00
2026-07-10 12:31:19 -07:00

License: MIT CI codecov

freemkv-keysources

Pluggable AACS key sources (keydb, online key service) for libfreemkv. Each source looks a disc up and hands libfreemkv its terminal Unit Keys via get_unit_keys; the library does all derivation.

License

MIT — see LICENSE.

S
Description
No description provided
Readme MIT
896 KiB
Languages
Rust 100%