vxhs: Switch to byte-based callbacks
commit918889b291dfb8f55d537e01ecbb082d27c2737a
authorEric Blake <eblake@redhat.com>
Tue, 24 Apr 2018 19:25:05 +0000 (24 14:25 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 May 2018 14:11:41 +0000 (15 16:11 +0200)
tree2f87efd8559d5f972505014a0fe9601d16a48afe
parente8e16d4baffc2d5734c1c54c28867860dd5a0074
vxhs: Switch to byte-based callbacks

We are gradually moving away from sector-based interfaces, towards
byte-based.  Make the change for the last few sector-based callbacks
in the vxhs driver.

Note that the driver was already using byte-based calls for
performing actual I/O, so this just gets rid of a round trip
of scaling; however, as I don't know if VxHS is tolerant of
non-sector AIO operations, I went with the conservative approach
of adding .bdrv_refresh_limits to override the block layer
defaults back to the pre-patch value of 512.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vxhs.c