Skip to content

btrfs_del_csums error handling fixes

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix error handling in btrfs_del_csumsfs/btrfs/file-item.c+5 -51 reply
2/2btrfs: return errors from btrfs_del_csums in cleanup_ref_headfs/btrfs/extent-tree.c+2 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQu Wenruo
1/2R-b
2/2R-b

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/2] btrfs_del_csums error handling fixes

Hello,

Here are two fixes related to deleting csums. Doing error injection stress testing I was consistently seeing cases where we had a corrupt file system with csums that existed without the corresponding extents being written. This was occuring because we were losing the return value in two cases, both of which would result in this style of corruption. With these two patches I'm no longer seeing these errors. Thanks,

Josef

Josef Bacik (2):
btrfs: fix error handling in btrfs_del_csums
btrfs: return errors from btrfs_del_csums in cleanup_ref_head

 fs/btrfs/extent-tree.c |  4 ++--
 fs/btrfs/file-item.c   | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.26.3