• Poul-Henning Kamp's avatar
    The law of unconsidered consequences strikes again: · 56260960
    Poul-Henning Kamp authored
    When we pushed the object allocation into the stevedores for
    -spersistent, we did not add LRU eviction to that allocation
    path.
    
    Then we added the Transient storage as a fallback for objects
    we could not allocate, and they all went there.
    
    Change the way object allocation works as follows:
    
            If VCL set a stevedore hint and it is valid, we stick
            with it, and LRU that stevedore attempting to make space.
    
            If no valid hint is given, try all stevedores in turn,
            then LRU one of them to make space.
    
    Fixes	#953
    56260960
stevedore.c 13.7 KB