Skip to content
  • Kevin Wolf's avatar
    posix-aio-compat: Fix idle_threads counter · 5be4aab7
    Kevin Wolf authored
    
    
    A thread should only be counted as idle when it really is waiting for new
    requests. Without this patch, sometimes too few threads are started as busy
    threads are counted as idle.
    
    Not sure if it makes a difference in practice outside some artificial
    qemu-io/qemu-img tests, but I think the change makes sense in any case.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    5be4aab7