]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ca3748c6013018e15500c06f5a8a5248c225fe7
tree71ebb14db4375fa265cf437d1b1a5c637ae7558c
parent3cd0e169f247a569efec784cc851f05319861720
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