Revision d2e46345 block/raw-posix.c

b/block/raw-posix.c
173 173
#ifdef CONFIG_LINUX_AIO
174 174
    if ((bdrv_flags & (BDRV_O_NOCACHE|BDRV_O_NATIVE_AIO)) ==
175 175
                      (BDRV_O_NOCACHE|BDRV_O_NATIVE_AIO)) {
176

  
177
        /* We're falling back to POSIX AIO in some cases */
178
        paio_init();
179

  
176 180
        s->aio_ctx = laio_init();
177 181
        if (!s->aio_ctx) {
178 182
            goto out_free_buf;

Also available in: Unified diff