aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2011-05-02 17:32:54 +0200
committerKevin Wolf <kwolf@redhat.com>2011-05-18 14:38:45 +0200
commit5be4aab7015d347b7506167c516f04c3ad171e4c (patch)
tree69cd483cc0c8811b252b6543ce7cd334105330f3 /qemu-img.c
parent086cf4d3bde08ca7785a9e09b38ee20636ee4f78 (diff)
posix-aio-compat: Fix idle_threads counter
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: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions