Ignore:
Timestamp:
2008-03-07 12:36:52 (6 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
2.0, 2.1, tags/varnish-2.0, tags/varnish-2.0-beta1, tags/varnish-2.0-beta1@3141, tags/varnish-2.0-beta2, tags/varnish-2.0-beta2@3221, tags/varnish-2.0-rc1, tags/varnish-2.0-rc1@3266, tags/varnish-2.0-tp1, tags/varnish-2.0-tp1@2734, tags/varnish-2.0-tp2, tags/varnish-2.0-tp2@2803, tags/varnish-2.0.1, tags/varnish-2.0.2, tags/varnish-2.0.3, tags/varnish-2.0.4, tags/varnish-2.0.5, tags/varnish-2.0.6, tags/varnish-2.1.0, tags/varnish-2.1.1, tags/varnish-2.1.2, tags/varnish-2.1.3, tags/varnish-2.1.4
Children:
907083c
Parents:
aae429
git-author:
Poul-Henning Kamp <phk@…> (2008-03-07 12:36:52)
git-committer:
Poul-Henning Kamp <phk@…> (2008-03-07 12:36:52)
Message:

Add diagnostic features to keep track of object workspace usage.

git-svn-id:  http://www.varnish-cache.org/svn/trunk@2560 d4fa192b-c00b-0410-8231-f00ffab90ce4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache_center.c

    r9d2bb6 r7b8b18f  
    353353                sp->obj->ttl = 0; 
    354354                sp->obj->cacheable = 0; 
    355                 HSH_Unbusy(sp->obj); 
     355                HSH_Unbusy(sp); 
    356356                HSH_Deref(sp->obj); 
    357357                sp->obj = NULL; 
     
    376376                VRY_Create(sp); 
    377377                EXP_Insert(sp->obj, sp->wrk->used); 
    378                 HSH_Unbusy(sp->obj); 
     378                HSH_Unbusy(sp); 
    379379        } 
    380380        sp->wrk->acct.fetch++; 
     
    627627        if (sp->handling == VCL_RET_ERROR) { 
    628628                sp->obj->cacheable = 0; 
    629                 HSH_Unbusy(sp->obj); 
     629                HSH_Unbusy(sp); 
    630630                HSH_Deref(sp->obj); 
    631631                sp->obj = NULL; 
     
    637637        if (sp->handling == VCL_RET_PASS) { 
    638638                sp->obj->cacheable = 0; 
    639                 HSH_Unbusy(sp->obj); 
     639                HSH_Unbusy(sp); 
    640640                HSH_Deref(sp->obj); 
    641641                sp->obj = NULL; 
Note: See TracChangeset for help on using the changeset viewer.