• Stefan Hajnoczi's avatar
    raw-posix: add raw_get_aio_fd() for virtio-blk-data-plane · 4065742a
    Stefan Hajnoczi authored
    The raw_get_aio_fd() function allows virtio-blk-data-plane to get the
    file descriptor of a raw image file with Linux AIO enabled.  This
    interface is really a layering violation that can be resolved once the
    block layer is able to run outside the global mutex - at that point
    virtio-blk-data-plane will switch from custom Linux AIO code to using
    the block layer.
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
block.h 17.6 KB