btrfs_del_csums error handling fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: fix error handling in btrfs_del_csumsfs/ | +5 | 1 reply | |
| 2/2 | btrfs: return errors from btrfs_del_csums in cleanup_ref_headfs/ | +2 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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