Skip to content

Commit

Permalink
drbd: reduce sizeof struct drbd_epoch_entry by 8 byte by aligning mem…
Browse files Browse the repository at this point in the history
…bers

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed May 17, 2010
1 parent 162f3ec commit 708d740
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 708d740

Please sign in to comment.