]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: uncollapse transaction aborts during renames
authorFilipe Manana <fdmanana@suse.com>
Mon, 6 Jan 2025 12:09:50 +0000 (12:09 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:18 +0000 (14:53 +0100)
commit097a7eef61bd0366a822418b2ba074942eb00744
tree5b901841ed167f9b43b5dfa68c8dd977b3f98683
parent2a9bb78cfd367fdeff74f15b1e98969912292d9e
btrfs: uncollapse transaction aborts during renames

During renames we are grouping transaction aborts that can be due to a
failure of one of several function calls. While this makes the code less
verbose, it makes it harder to debug as we end up not knowing from which
function call we got an error.

So change this to trigger a transaction abort after each function call
failure, so that when we get a transaction abort message we know exactly
which function call failed, helping us to debug issues.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c