[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH v2 4/6] rbd: Switch to byte-based c
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH v2 4/6] rbd: Switch to byte-based callbacks |
Date: |
Wed, 25 Apr 2018 08:00:03 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/24/2018 02:25 PM, Eric Blake wrote:
> 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
s/conservate/conservative/
> of adding .bdrv_refresh_limits to override the block layer
> defaults back to the pre-patch value of 512.
>
> Signed-off-by: Eric Blake <address@hidden>
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 0/6] block: byte-based AIO read/write, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 5/6] vxhs: Switch to byte-based callbacks, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 4/6] rbd: Switch to byte-based callbacks, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 3/6] null: Switch to byte-based read/write, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 1/6] block: Support byte-based aio callbacks, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 2/6] file-win32: Switch to byte-based callbacks, Eric Blake, 2018/04/24
- [Qemu-devel] [PATCH v2 6/6] block: Drop last of the sector-based aio callbacks, Eric Blake, 2018/04/24
- Re: [Qemu-devel] [PATCH v2 0/6] block: byte-based AIO read/write, Kevin Wolf, 2018/04/25