diff options
Diffstat (limited to 'content/llcache.c')
-rw-r--r-- | content/llcache.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/content/llcache.c b/content/llcache.c index 98c3d72e2..c6049fe63 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1244,7 +1244,7 @@ nserror llcache_object_notify_users(llcache_object *object) llcache_event event; #ifdef LLCACHE_TRACE - LOG(("Notifying users of %p", object)); + bool emitted_notify = false; #endif /** @@ -1281,9 +1281,15 @@ nserror llcache_object_notify_users(llcache_object *object) next_user = user->next; #ifdef LLCACHE_TRACE - if (handle->state != objstate) + if (handle->state != objstate) { + if (emitted_notify == false) { + LOG(("Notifying users of %p", object)); + emitted_notify = true; + } + LOG(("User %p state: %d Object state: %d", user, handle->state, objstate)); + } #endif /* User: INIT, Obj: HEADERS, DATA, COMPLETE => User->HEADERS */ |