Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
Source project has a limited visibility.
  • Kurt Zeilenga's avatar
    366701bd
    Fix dbcache/entry lock deadlock. If dbcache lock is held, it's · 366701bd
    Kurt Zeilenga authored
    okay to read and write LDBM specific fields (state, refcnt,
    LRU.  The id field, though is read-only once set.
    cache_find_entry_dn2id(), hence, does not require any entry locks.
    cache_find_entry_id() must do a entry_rdwr_trylock() and back
    off if busy.
    Add new rdwr lock code with trylock() functionality.
    Implement entry_rdwr_trylock().
    366701bd
    History
    Fix dbcache/entry lock deadlock. If dbcache lock is held, it's
    Kurt Zeilenga authored
    okay to read and write LDBM specific fields (state, refcnt,
    LRU.  The id field, though is read-only once set.
    cache_find_entry_dn2id(), hence, does not require any entry locks.
    cache_find_entry_id() must do a entry_rdwr_trylock() and back
    off if busy.
    Add new rdwr lock code with trylock() functionality.
    Implement entry_rdwr_trylock().
Code owners
Assign users and groups as approvers for specific file changes. Learn more.