[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.10 00/10] Preparation for block job mutex
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH for-2.10 00/10] Preparation for block job mutex |
Date: |
Thu, 23 Mar 2017 18:39:18 +0100 |
These are a bunch of cleanups and patches extracted from the AioContext
lock removal series. They are independent and can be applied/reviewed
separately. The flip side is that several of the changes seem to be a
bit gratuitous without the big change from AioContext lock to a specific
block job mutex for all block job data structures.
While the patch set seems very large, a lot of it just moving the code
around to avoid forward references; this is so that close functions will
have similar locking rules.
Paolo
Paolo Bonzini (10):
blockjob: remove unnecessary check
blockjob: remove iostatus_reset callback
blockjob: introduce block_job_fail
blockjob: introduce block_job_pause/resume_all
blockjob: separate monitor and blockjob APIs
blockjob: move iostatus reset inside block_job_user_resume
blockjob: strengthen a bit test-blockjob-txn
blockjob: introduce block_job_cancel_async
blockjob: reorganize block_job_completed_txn_abort
blockjob: use deferred_to_main_loop to indicate the coroutine has
ended
block/backup.c | 2 +-
block/commit.c | 2 +-
block/io.c | 18 +-
block/mirror.c | 2 +-
blockdev.c | 1 -
blockjob.c | 559 ++++++++++++++++++++++++-------------------
include/block/blockjob.h | 14 +-
include/block/blockjob_int.h | 21 +-
tests/test-blockjob-txn.c | 7 +-
tests/test-blockjob.c | 10 +-
10 files changed, 334 insertions(+), 302 deletions(-)
--
2.9.3
- [Qemu-devel] [PATCH for-2.10 00/10] Preparation for block job mutex,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 01/10] blockjob: remove unnecessary check, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 02/10] blockjob: remove iostatus_reset callback, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 03/10] blockjob: introduce block_job_fail, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 05/10] blockjob: separate monitor and blockjob APIs, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 04/10] blockjob: introduce block_job_pause/resume_all, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 06/10] blockjob: move iostatus reset inside block_job_user_resume, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 09/10] blockjob: reorganize block_job_completed_txn_abort, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 08/10] blockjob: introduce block_job_cancel_async, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 07/10] blockjob: strengthen a bit test-blockjob-txn, Paolo Bonzini, 2017/03/23
- [Qemu-devel] [PATCH 10/10] blockjob: use deferred_to_main_loop to indicate the coroutine has ended, Paolo Bonzini, 2017/03/23