diff options
| author | Eric Blake | 2018-04-24 21:25:05 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-05-15 16:11:41 +0200 |
| commit | 918889b291dfb8f55d537e01ecbb082d27c2737a (patch) | |
| tree | 2f87efd8559d5f972505014a0fe9601d16a48afe /block/commit.c | |
| parent | rbd: Switch to byte-based callbacks (diff) | |
| download | qemu-918889b291dfb8f55d537e01ecbb082d27c2737a.tar.gz qemu-918889b291dfb8f55d537e01ecbb082d27c2737a.tar.xz qemu-918889b291dfb8f55d537e01ecbb082d27c2737a.zip | |
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>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
