From de3e609166ad2cbc4fcd49c19a5f0ced96064135 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 14 May 2023 00:06:02 +0300 Subject: [PATCH] Add a FIXME about QEMU driver thread safety --- src/qemu_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu_driver.c b/src/qemu_driver.c index ce88b692..481de44c 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -218,6 +218,7 @@ static void coroutine_fn vitastor_co_get_metadata(VitastorRPC *task) } } +// FIXME: Fix thread safety of the driver - now it segfaults when iothread is enabled in QEMU static void vitastor_aio_set_fd_handler(void *ctx, int fd, int unused1, IOHandler *fd_read, IOHandler *fd_write, void *unused2, void *opaque) { aio_set_fd_handler(ctx, fd,