Browse Source

drbd: reduce sizeof struct drbd_epoch_entry by 8 byte by aligning members

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Lars Ellenberg 15 years ago
parent
commit
708d740ed8
1 changed files with 1 additions and 5 deletions
  1. 1 5
      drivers/block/drbd/drbd_int.h

+ 1 - 5
drivers/block/drbd/drbd_int.h

@@ -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;
 };