diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-09-16 16:33:00 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-09-23 08:49:23 +0200 |
commit | 5afe85b771eefe91891cca332cb916f8da6d48e1 (patch) | |
tree | 11a56a45717c369cfe903c750710611570087969 /scripts/gdb/linux/mapletree.py | |
parent | b0e30e373e3752d4a59cb0f2b6a4aa8b3b54f041 (diff) |
btrfs: mark leaf space and overflow checks as unlikely on insert and extension
We have several sanity checks when inserting or extending items in a btree
that verify we didn't overflow the leaf or access a slot beyond the last
one. These are cases that are never expected to be hit so mark them as
unlikely, allowing the compiler to potentially generate better code.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/mapletree.py')
0 files changed, 0 insertions, 0 deletions