summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-07-16 17:49:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-02 16:18:04 +0300
commite587f12fff7797345054c5199fc8598c74e313ca (patch)
tree3a3097738f0881c7a1f79bd679f941ce16bf32a1 /scripts/gdb/linux/utils.py
parentb64764e38bcdb2053121d9e55b9b4678dfc475f2 (diff)
downloadlinux-e587f12fff7797345054c5199fc8598c74e313ca.tar.xz
btrfs: abort transaction in the process_one_buffer() log tree walk callback
[ Upstream commit e6dd405b6671b9753b98d8bdf76f8f0ed36c11cd ] In the process_one_buffer() log tree walk callback we return errors to the log tree walk caller and then the caller aborts the transaction, if we have one, or turns the fs into error state if we don't have one. While this reduces code it makes it harder to figure out where exactly an error came from. So add the transaction aborts after every failure inside the process_one_buffer() callback, so that it helps figuring out why failures happen. Reviewed-by: Boris Burkov <boris@bur.io> 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions