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


Reply via email to