From: Stefan Reiter <s.reiter@proxmox.com>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: kwolf@redhat.com, vsementsov@virtuozzo.com, slp@redhat.com,
mreitz@redhat.com, stefanha@redhat.com, jsnow@redhat.com,
dietmar@proxmox.com
Subject: [PATCH v3 0/3] Fix some AIO context locking in jobs
Date: Tue, 31 Mar 2020 14:20:42 +0200 [thread overview]
Message-ID: <20200331122045.164356-1-s.reiter@proxmox.com> (raw)
Contains three seperate but related patches cleaning up and fixing some
issues regarding aio_context_acquire/aio_context_release for jobs. Mostly
affects blockjobs running for devices that have IO threads enabled AFAICT.
This is based on the discussions here:
https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07929.html
Changes from v2:
* reordered patch 1 to the end to not introduce temporary breakages
* added more fixes to job txn patch (should now pass the tests)
Changes from v1:
* fixed commit message for patch 1
* added patches 2 and 3
qemu: Stefan Reiter (3):
job: take each job's lock individually in job_txn_apply
replication: acquire aio context before calling job_cancel_sync
backup: don't acquire aio_context in backup_clean
block/backup.c | 4 ----
block/replication.c | 6 +++++-
job.c | 48 ++++++++++++++++++++++++++++++++++---------
tests/test-blockjob.c | 2 ++
4 files changed, 45 insertions(+), 15 deletions(-)
--
2.26.0
next reply other threads:[~2020-03-31 12:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 12:20 Stefan Reiter [this message]
2020-03-31 12:20 ` [PATCH v3 1/3] job: take each job's lock individually in job_txn_apply Stefan Reiter
2020-03-31 12:20 ` [PATCH v3 2/3] replication: acquire aio context before calling job_cancel_sync Stefan Reiter
2020-03-31 12:20 ` [PATCH v3 3/3] backup: don't acquire aio_context in backup_clean Stefan Reiter
2020-03-31 19:02 ` [PATCH v3 0/3] Fix some AIO context locking in jobs no-reply
2020-03-31 19:18 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200331122045.164356-1-s.reiter@proxmox.com \
--to=s.reiter@proxmox.com \
--cc=dietmar@proxmox.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=slp@redhat.com \
--cc=stefanha@redhat.com \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).