aboutsummaryrefslogtreecommitdiff
path: root/net/tap-linux.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2018-04-24 14:25:04 -0500
committerKevin Wolf <kwolf@redhat.com>2018-05-15 16:11:41 +0200
commite8e16d4baffc2d5734c1c54c28867860dd5a0074 (patch)
treec0f7cbb08b7ecc68718ab553f4ed4437d7114954 /net/tap-linux.c
parentb3241e9274ca1aafb94ad8683305bb383e11c766 (diff)
downloadqemu-e8e16d4baffc2d5734c1c54c28867860dd5a0074.zip
qemu-e8e16d4baffc2d5734c1c54c28867860dd5a0074.tar.gz
qemu-e8e16d4baffc2d5734c1c54c28867860dd5a0074.tar.bz2
rbd: 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 rbd 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 RBD is tolerant of non-sector AIO operations, I went with the conservate 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 'net/tap-linux.c')
0 files changed, 0 insertions, 0 deletions