diff options
| author | Filipe Manana <fdmanana@suse.com> | 2022-08-17 12:22:40 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-09-26 12:27:56 +0200 |
| commit | 96d89923fa9496280e3cd1d504058d99df79f22e (patch) | |
| tree | 372ef98b820a5b6fa9d81d3cc5d88ea221c82cc9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | df4928818b307373779dfce69ffc33764d065bea (diff) | |
btrfs: store index number instead of key in struct btrfs_delayed_item
All delayed items are for dir index keys, so there's really no point of
having an embedded struct btrfs_key in struct btrfs_delayed_item, which
makes the structure use more space than necessary (and adds a hole of 7
bytes).
So replace the key field with an index number (u64), which reduces the
size of struct btrfs_delayed_item from 112 bytes down to 96 bytes.
Some upcoming work will increase the structure size by 16 bytes, so this
change compensates for that future size increase.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
