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>
This commit is contained in:
parent
162f3ec7f0
commit
708d740ed8
1 changed files with 1 additions and 5 deletions
|
@ -747,12 +747,8 @@ struct drbd_epoch_entry {
|
||||||
struct hlist_node colision;
|
struct hlist_node colision;
|
||||||
sector_t sector;
|
sector_t sector;
|
||||||
unsigned int size;
|
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;
|
unsigned int flags;
|
||||||
|
struct drbd_epoch *epoch;
|
||||||
u64 block_id;
|
u64 block_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue