diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-05-03 04:38:57 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-17 19:28:35 -0400 |
commit | 708d740ed8242b84eefc63df144313a7308c7de5 (patch) | |
tree | 6128220244460b945e09b8da4136f66fad08360f /drivers/block | |
parent | 162f3ec7f026784ff2e216f19147d67e2f8ccd56 (diff) |
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>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index 45d9a4534c40..1bc86ddac38b 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -747,12 +747,8 @@ struct drbd_epoch_entry { | |||
747 | struct hlist_node colision; | 747 | struct hlist_node colision; |
748 | sector_t sector; | 748 | sector_t sector; |
749 | unsigned int size; | 749 | unsigned int size; |
750 | struct drbd_epoch *epoch; | ||
751 | |||
752 | /* up to here, the struct layout is identical to drbd_request; | ||
753 | * we might be able to use that to our advantage... */ | ||
754 | |||
755 | unsigned int flags; | 750 | unsigned int flags; |
751 | struct drbd_epoch *epoch; | ||
756 | u64 block_id; | 752 | u64 block_id; |
757 | }; | 753 | }; |
758 | 754 | ||