On 05/10/2017 10:20 PM, Eric Blake wrote: > We are gradually converting to byte-based interfaces, as they are > easier to reason about than sector-based. Continue by converting > the public interface to backup jobs (no semantic change), including > a change to CowRequest to track by bytes instead of cluster indices. > > Note that this does not change the difference between the public > interface (starting point, and size of the subsequent range) and > the internal interface (starting and end points). > > Signed-off-by: Eric Blake <ebl...@redhat.com> >
Reviewed-by: John Snow <js...@redhat.com> > --- > v2: change a couple more parameter names > --- > include/block/block_backup.h | 11 +++++------ > block/backup.c | 33 ++++++++++++++++----------------- > block/replication.c | 12 ++++++++---- > 3 files changed, 29 insertions(+), 27 deletions(-) >