summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-05-03 10:38:57 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-05-18 01:28:35 +0200
commit708d740ed8242b84eefc63df144313a7308c7de5 (patch)
tree6128220244460b945e09b8da4136f66fad08360f /drivers/block
parent162f3ec7f026784ff2e216f19147d67e2f8ccd56 (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.h6
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 {
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;
};