diff --git a/lib/bdev/aio/bdev_aio.c b/lib/bdev/aio/bdev_aio.c index 8b188ee51..e982724f7 100644 --- a/lib/bdev/aio/bdev_aio.c +++ b/lib/bdev/aio/bdev_aio.c @@ -65,6 +65,11 @@ struct bdev_aio_io_channel { int efd; }; +struct bdev_aio_group_channel { + struct spdk_poller *poller; + int epfd; +}; + struct file_disk { struct bdev_aio_task *reset_task; struct spdk_poller *reset_retry_timer; @@ -98,11 +103,6 @@ static struct spdk_bdev_module aio_if = { .get_ctx_size = bdev_aio_get_ctx_size, }; -struct bdev_aio_group_channel { - struct spdk_poller *poller; - int epfd; -}; - SPDK_BDEV_MODULE_REGISTER(&aio_if) static int