[PATCH v4 0/5] Miscellaneous error handling patches
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-10-05 20:35:32
v3->v4: - Added another abort() call that I missed in btrfs_recover_log_trees. - Updated the commit message for 'btrfs: change error handling for btrfs_delete_*_in_log' as it pre-dated me figuring out there was a corruption problem in sync log. - Fixed commit message for 'btrfs: add a BTRFS_FS_ERROR helper'. - Made it so 'btrfs: do not infinite loop in data reclaim if we aborted' actually compiled, I guess my compile after rebase git hook didn't quite work as expected. - Updated the comment in 'btrfs: fix abort logic in btrfs_replace_file_extents'. - Rebased onto misc-next.
--- Original email ---Hello, This series is left overs from a few different series. The error handling patches look like they just got missed somehow. The FS_ERROR helper has been updated based on the comments from Dave. I'm attaching this to the open GH thing that I was looking at to update, but really just has the FS_ERROR helper patch from that series. Thanks, Josef Josef Bacik (5): btrfs: change handle_fs_error in recover_log_trees to aborts btrfs: change error handling for btrfs_delete_*_in_log btrfs: add a BTRFS_FS_ERROR helper btrfs: do not infinite loop in data reclaim if we aborted btrfs: fix abort logic in btrfs_replace_file_extents fs/btrfs/ctree.h | 3 ++ fs/btrfs/disk-io.c | 8 ++---- fs/btrfs/extent_io.c | 2 +- fs/btrfs/file.c | 18 ++++++------ fs/btrfs/inode.c | 22 ++++----------- fs/btrfs/scrub.c | 2 +- fs/btrfs/space-info.c | 27 +++++++++++++++--- fs/btrfs/super.c | 2 +- fs/btrfs/transaction.c | 11 ++++---- fs/btrfs/tree-log.c | 62 ++++++++++++++++-------------------------- fs/btrfs/tree-log.h | 16 +++++------ 11 files changed, 85 insertions(+), 88 deletions(-) -- 2.26.3