v4:
01: add Max's r-b
02: rm ProgressResetCallbackFunc typedef
03-06: add Max's r-b
07: fix indentation
08: update in_flight_bytes in block_copy_inflight_req_shrink
improve comment above block_copy() definition
09: add Andrey's and Max's r-b
drop hunk fixing indentation (merged to 07)
Vladimir Sementsov-Ogievskiy (9):
job: refactor progress to separate object
block/block-copy: fix progress calculation
block/block-copy: specialcase first copy_range request
block/block-copy: use block_status
block/block-copy: factor out find_conflicting_inflight_req
block/block-copy: refactor interfaces to use bytes instead of end
block/block-copy: rename start to offset in interfaces
block/block-copy: reduce intersecting request lock
block/block-copy: hide structure definitions
include/block/block-copy.h | 65 +-----
include/qemu/job.h | 11 +-
include/qemu/progress_meter.h | 58 +++++
block/backup-top.c | 6 +-
block/backup.c | 38 ++--
block/block-copy.c | 405 ++++++++++++++++++++++++++--------
blockjob.c | 16 +-
job-qmp.c | 4 +-
job.c | 6 +-
qemu-img.c | 6 +-
block/trace-events | 1 +
11 files changed, 420 insertions(+), 196 deletions(-)
create mode 100644 include/qemu/progress_meter.h
--
2.21.0