Skip to content

Error handling fixes

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: abort transaction if we don't find extref in btrfs_del_inode_extref()fs/btrfs/inode-item.c+2 -20 replies
2/5btrfs: only print error message when checking item size in print_extent_item()fs/btrfs/print-tree.c+1 -10 replies
3/5btrfs: abort transaction on errors in btrfs_free_chunk()fs/btrfs/volumes.c+9 -60 replies
4/5btrfs: qgroup: preallocate memory before adding a relationfs/btrfs/ioctl.c fs/btrfs/qgroup.c fs/btrfs/qgroup.h+34 -224 replies
5/5btrfs: qgroup: warn about inconsistent qgroups when relation update failsfs/btrfs/ioctl.c+3 -22 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchQu Wenruo
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Error handling fixes

A few replacements of btrfs_handle_fs_error() with transaction abort or other means.

David Sterba (5):
btrfs: abort transaction if we don't find extref in
btrfs_del_inode_extref()
btrfs: only print error message when checking item size in
print_extent_item()
btrfs: abort transaction on errors in btrfs_free_chunk()
btrfs: qgroup: preallocate memory before adding a relation
btrfs: qgroup: warn about inconsistent qgroups when relation update
fails

 fs/btrfs/inode-item.c |  4 ++--
 fs/btrfs/ioctl.c      | 25 +++++++++++++++++++------
 fs/btrfs/print-tree.c |  2 +-
 fs/btrfs/qgroup.c     | 25 ++++++++-----------------
 fs/btrfs/qgroup.h     | 11 ++++++++++-
 fs/btrfs/volumes.c    | 15 +++++++++------
 6 files changed, 49 insertions(+), 33 deletions(-)
Signature · 1 line
2.45.0