drbd: reduce sizeof struct drbd_epoch_entry by 8 byte by aligning members
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 3 May 2010 08:38:57 +0000 (10:38 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:28:35 +0000 (01:28 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h

index 45d9a4534c4058451bc9094e45cf9c753dfde860..1bc86ddac38b88e5fedff6f569f741f543f01bdf 100644 (file)
@@ -747,12 +747,8 @@ struct drbd_epoch_entry {
        struct hlist_node colision;
        sector_t sector;
        unsigned int size;
-       struct drbd_epoch *epoch;
-
-       /* up to here, the struct layout is identical to drbd_request;
-        * we might be able to use that to our advantage...  */
-
        unsigned int flags;
+       struct drbd_epoch *epoch;
        u64    block_id;
 };