diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-09-12 15:04:31 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 17:44:07 +0300 |
commit | 4ebe8d478879c84a9e0c4f655cd8652fdbe239ac (patch) | |
tree | e26961a1ad3c7a8b86415c844c799704daea3e0f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 20cbe4603518ed328b173246d936d6ac62ec2fcc (diff) | |
download | linux-4ebe8d478879c84a9e0c4f655cd8652fdbe239ac.tar.xz |
btrfs: mark transaction id check as unlikely at btrfs_mark_buffer_dirty()
At btrfs_mark_buffer_dirty(), having a transaction id mismatch is never
expected to happen and it usually means there's a bug or some memory
corruption due to a bitflip for example. So mark the condition as unlikely
to optimize code generation as well as to make it obvious for human
readers that it is a very unexpected condition.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions