[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] blockjobs: add explicit job culling
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] blockjobs: add explicit job culling |
Date: |
Tue, 3 Oct 2017 12:20:25 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
03.10.2017 06:15, John Snow wrote:
For jobs that complete when a monitor isn't looking, there's no way to
tell what the job's final return code was. We need to allow jobs to
remain in the list until queried for reliable management.
This is an RFC; tests are on the way.
(Tested only manually via qmp-shell for now.)
That's a cool feature!
What about transactions support?
John Snow (3):
blockjob: add manual-cull property
qmp: add block-job-cull command
blockjob: expose manual-cull property
block/backup.c | 20 +++++++++---------
block/commit.c | 2 +-
block/mirror.c | 2 +-
block/replication.c | 5 +++--
block/stream.c | 2 +-
block/trace-events | 1 +
blockdev.c | 28 +++++++++++++++++++++----
blockjob.c | 46 +++++++++++++++++++++++++++++++++++++++--
include/block/block_int.h | 8 +++++---
include/block/blockjob.h | 21 +++++++++++++++++++
include/block/blockjob_int.h | 2 +-
qapi/block-core.json | 49 ++++++++++++++++++++++++++++++++++++--------
tests/test-blockjob-txn.c | 2 +-
tests/test-blockjob.c | 2 +-
14 files changed, 155 insertions(+), 35 deletions(-)
--
Best regards,
Vladimir
[Qemu-devel] [PATCH 1/3] blockjob: add manual-cull property, John Snow, 2017/10/02
Re: [Qemu-devel] [PATCH 0/3] blockjobs: add explicit job culling,
Vladimir Sementsov-Ogievskiy <=