bdev/aio: Move definition of bdev_aio_group_channel up

Move it next to the other channel definition.

Change-Id: I9ec33c135836d3dc326abe4ce7588e7a2eff77d4
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/443309
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Ben Walker 2019-02-04 14:02:53 -07:00 committed by Jim Harris
parent 669f1ea74a
commit 6ced440ad6

View File

@ -65,6 +65,11 @@ struct bdev_aio_io_channel {
int efd; int efd;
}; };
struct bdev_aio_group_channel {
struct spdk_poller *poller;
int epfd;
};
struct file_disk { struct file_disk {
struct bdev_aio_task *reset_task; struct bdev_aio_task *reset_task;
struct spdk_poller *reset_retry_timer; 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, .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) SPDK_BDEV_MODULE_REGISTER(&aio_if)
static int static int