READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
/*
* entry is deleted or not fully created yet
*/
- if ( state != CACHE_ENTRY_READY ) {
+ if ( state != CACHE_ENTRY_READY && state != CACHE_ENTRY_COMMITTED ) {
assert(state != CACHE_ENTRY_UNDEFINED);
/* free cache read lock */
/*
* entry is deleted or not fully created yet
*/
- if ( state != CACHE_ENTRY_READY ) {
+ if ( state != CACHE_ENTRY_READY && state != CACHE_ENTRY_COMMITTED ) {
assert(state != CACHE_ENTRY_UNDEFINED);