OSDN Git Service

btrfs: reorder btrfs_transaction members for better packing
authorDavid Sterba <dsterba@suse.com>
Wed, 8 Nov 2017 00:54:33 +0000 (01:54 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:14 +0000 (16:08 +0100)
commit5302e0896445ac3a9c707bd42c39c58a49959980
tree71ebb14db4375fa265cf437d1b1a5c637ae7558c
parent165c8b022c492f7eb33f7c936ac063a6fd4e90a3
btrfs: reorder btrfs_transaction members for better packing

There are now 20 bytes of holes, we can reduce that to 4 by minor
changes. Moving 'aborted' to the status and flags is also more logical,
similar for num_dirty_bgs. The size goes from 432 to 416.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.h