diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-10-05 16:35:24 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-10-26 19:08:05 +0200 |
commit | 9a35fc9542fa6c220d69987612b88c54cba2bc33 (patch) | |
tree | c81496194c5babfe11b55a972ba5b2493e8ef9f6 /scripts/gen_ksymdeps.sh | |
parent | ba51e2a11e389a1e928e16d616c1276423c3a89e (diff) |
btrfs: change error handling for btrfs_delete_*_in_log
Currently we will abort the transaction if we get a random error (like
-EIO) while trying to remove the directory entries from the root log
during rename.
However since these are simply log tree related errors, we can mark the
trans as needing a full commit. Then if the error was truly
catastrophic we'll hit it during the normal commit and abort as
appropriate.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gen_ksymdeps.sh')
0 files changed, 0 insertions, 0 deletions