• Poul-Henning Kamp's avatar
    Give TASK_QUEUE_ enum names decriptive of what is being queued · 00871cef
    Poul-Henning Kamp authored
    (BO, REQ & VCA)
    
    Add new a new TASK_QUEUE level for backend requests and give it
    higher priority than client requests to avoid a priority inversion
    when (almost) all threads are stuck waiting for backend fetches
    which doesn't happen because there are no worker threads.
    
    Backend polls are left at TASK_QUEUE_REQ priority for now, pending
    reasons not to.
    00871cef
cache_acceptor.c 14.1 KB