From 3e8487f88e11c96be083f553b1f20afd987149c5 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 5 Oct 2016 14:18:51 -0700 Subject: [PATCH] bdev: shuffle spdk_bdev_io members for packing Change-Id: Ia4264615b004d2dbfc9d6238cdacf6e987f2a207 Signed-off-by: Daniel Verkamp --- include/spdk/bdev.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdk/bdev.h b/include/spdk/bdev.h index 3a5064728..27e00071b 100644 --- a/include/spdk/bdev.h +++ b/include/spdk/bdev.h @@ -171,15 +171,15 @@ struct spdk_bdev_io { /** Pointer to scratch area reserved for use by the driver consuming this spdk_bdev_io. */ void *ctx; - /** Generation value for each I/O. */ - uint32_t gencnt; - /** The block device that this I/O belongs to. */ struct spdk_bdev *bdev; /** The I/O channel to submit this I/O on. */ struct spdk_io_channel *ch; + /** Generation value for each I/O. */ + uint32_t gencnt; + /** Enumerated value representing the I/O type. */ enum spdk_bdev_io_type type;