Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
rbd: use weak bindings for qemu_aio_flush and qemu_aio_discard; disab…
…le the latter by default Use weak bindings for qemu_aio_flush and qemu_aio_discard so they can be linked against old or new versions and select what routines are used directly. Build in prototypes so building against old headers and linking to new libraries works. Disable qemu_aio_discard by default (restore with -D QEMU_USE_RBD_AIO_DISCARD) because discard is poorly tested in qemu 1.0. Signed-off-by: Alex Bligh <alex@alex.org.uk>
- Loading branch information
Showing
1 changed file
with
51 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters