Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: ba3186c4e473963ba83b5792f3d02d4ac0a76ba5 https://github.com/qemu/qemu/commit/ba3186c4e473963ba83b5792f3d02d4ac0a76ba5 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths: M block/curl.c Log Message: ----------- curl: do not use aio_context_acquire/release Now that all bottom halves and callbacks take care of taking the AioContext lock, we can migrate some users away from it and to a specific QemuMutex or CoMutex. Protect BDRVCURLState access with a QemuMutex. Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Message-id: 20170222180725.28611-2-pbonz...@redhat.com Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 37d1e4d9bfac846a1331375aab3d13b54a048c01 https://github.com/qemu/qemu/commit/37d1e4d9bfac846a1331375aab3d13b54a048c01 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M block/nfs.c Log Message: ----------- nfs: do not use aio_context_acquire/release Now that all bottom halves and callbacks take care of taking the AioContext lock, we can migrate some users away from it and to a specific QemuMutex or CoMutex. Protect libnfs calls with a QemuMutex. Callbacks are invoked using bottom halves, so we don't even have to drop it around callback invocations. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Message-id: 20170222180725.28611-3-pbonz...@redhat.com Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: d045c466d9e62b4321fadf586d024d54ddfd8bd4 https://github.com/qemu/qemu/commit/d045c466d9e62b4321fadf586d024d54ddfd8bd4 Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M block/iscsi.c Log Message: ----------- iscsi: do not use aio_context_acquire/release Now that all bottom halves and callbacks take care of taking the AioContext lock, we can migrate some users away from it and to a specific QemuMutex or CoMutex. Protect libiscsi calls with a QemuMutex. Callbacks are invoked using bottom halves, so we don't even have to drop it around callback invocations. Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Message-id: 20170222180725.28611-4-pbonz...@redhat.com Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd https://github.com/qemu/qemu/commit/1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd Author: Paolo Bonzini <pbonz...@redhat.com> Date: 2017-02-27 (Mon, 27 Feb 2017) Changed paths: M tests/test-aio-multithread.c Log Message: ----------- tests-aio-multithread: use atomic_read properly nodes[id].next is written by other threads. If atomic_read is not used (matching atomic_set in mcs_mutex_lock!) the compiler can optimize the whole "if" away! Reported-by: Alex Bennée <alex.ben...@linaro.org> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Tested-by: Greg Kurz <gr...@kaod.org> Message-id: 20170227111726.9237-1-pbonz...@redhat.com Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 6181478f6395cdd9d6ffd99623d0c9f39ea53606 https://github.com/qemu/qemu/commit/6181478f6395cdd9d6ffd99623d0c9f39ea53606 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M block/curl.c M block/iscsi.c M block/nfs.c Log Message: ----------- Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging # gpg: Signature made Mon 27 Feb 2017 16:33:23 GMT # gpg: using RSA key 0x9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefa...@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefa...@gmail.com>" # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * remotes/stefanha/tags/block-pull-request: tests-aio-multithread: use atomic_read properly iscsi: do not use aio_context_acquire/release nfs: do not use aio_context_acquire/release curl: do not use aio_context_acquire/release Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/9b9fbe8a4e9e...6181478f6395