diff options
author | Stefan Hajnoczi | 2018-05-30 21:42:38 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2018-06-01 17:01:29 +0200 |
commit | 21891a5a3011608845b5d7f1f9cce60cdc2bcc62 (patch) | |
tree | 0139d82b77231d52d622848849f7697e021f6533 /tests/qemu-iotests | |
parent | qemu-img: Convert with copy offloading (diff) | |
download | qemu-21891a5a3011608845b5d7f1f9cce60cdc2bcc62.tar.gz qemu-21891a5a3011608845b5d7f1f9cce60cdc2bcc62.tar.xz qemu-21891a5a3011608845b5d7f1f9cce60cdc2bcc62.zip |
main-loop: drop spin_counter
Commit d759c951f3287fad04210a52f2dc93f94cf58c7f ("replay: push
replay_mutex_lock up the call tree") removed the !timeout lock
optimization in the main loop.
The idea of the optimization was to avoid ping-pongs between threads by
keeping the Big QEMU Lock held across non-blocking (!timeout) main loop
iterations.
A warning is printed when the main loop spins without releasing BQL for
long periods of time. These warnings were supposed to aid debugging but
in practice they just alarm users. They are considered noise because
the cause of spinning is not shown and is hard to find.
Now that the lock optimization has been removed, there is no danger of
hogging the BQL. Drop the spin counter and the infamous warning.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rw-r--r-- | tests/qemu-iotests/common.filter | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter index f08ee55046..2031e353a5 100644 --- a/tests/qemu-iotests/common.filter +++ b/tests/qemu-iotests/common.filter @@ -77,7 +77,6 @@ _filter_qemu() { sed -e "s#\\(^\\|(qemu) \\)$(basename $QEMU_PROG):#\1QEMU_PROG:#" \ -e 's#^QEMU [0-9]\+\.[0-9]\+\.[0-9]\+ monitor#QEMU X.Y.Z monitor#' \ - -e '/main-loop: WARNING: I\/O thread spun for [0-9]\+ iterations/d' \ -e $'s#\r##' # QEMU monitor uses \r\n line endings } |