replication: Switch to byte-based calls
commit04a11d87d1dfdc5f8081398694db8849d010c12d
authorEric Blake <eblake@redhat.com>
Thu, 28 Jun 2018 20:15:23 +0000 (28 15:15 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Jun 2018 12:20:56 +0000 (29 14:20 +0200)
treeb88f6f46d69f005c522ee34c9e1a07c9ff36efd2
parent609841a3f8cb1761380032b7bbccb438abb8290f
replication: Switch to byte-based calls

We are gradually moving away from sector-based interfaces, towards
byte-based.  Make the change for the last few sector-based calls
into the block layer from the replication driver.

Ideally, the replication driver should switch to doing everything
byte-based, but that's a more invasive change that requires a
bit more auditing.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/replication.c