aboutsummaryrefslogtreecommitdiff
path: root/stubs/fdset-find-fd.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-10-24 15:57:36 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-11-03 11:41:48 +0000
commitb21c76529d55bf7bb02ac736b312f5f8bf033ea2 (patch)
tree437d348c83d9cccbc1507324b009ba2ef67df864 /stubs/fdset-find-fd.c
parent1d3ba15accf56b08f436d8ca92f5a0abce2d54ee (diff)
block/mirror: Improve progress report
Instead of taking the total length of the block device as the block job's length, use the number of dirty sectors. The progress is now the number of sectors mirrored to the target block device. Note that this may result in the job's length increasing during operation, which is however in fact desirable. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 1414159063-25977-8-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'stubs/fdset-find-fd.c')
0 files changed, 0 insertions, 0 deletions