rbd: Switch rbd_start_aio() to byte-based
commit7bbca9e290a9c7c217b5a24fc6094e91e54bd05d
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2016 23:22:56 +0000 (15 17:22 -0600)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Jul 2016 13:11:55 +0000 (20 14:11 +0100)
tree06780a0671929b3525a02298de0233f7a46a9d90
parent36e3b2e7338a5a5323f7ca9d8d4d439e971a18dd
rbd: Switch rbd_start_aio() to byte-based

The internal function converts to byte-based before calling into
RBD code; hoist the conversion to the callers so that callers
can then be switched to byte-based themselves.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1468624988-423-8-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/rbd.c