Home
last modified time | relevance | path

Searched hist:e8e16d4baffc2d5734c1c54c28867860dd5a0074 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Drbd.cdiff e8e16d4baffc2d5734c1c54c28867860dd5a0074 Tue Apr 24 14:25:04 CDT 2018 Eric Blake <eblake@redhat.com> 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>