Skip to content

btrfs: a couple bug fixes for failures of log replay and mount

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix log replay failure due to race with space cache rebuildfs/btrfs/block-group.c fs/btrfs/block-group.h fs/btrfs/extent-tree.c+23 -52 replies
2/2btrfs: fix log replay failure when space cache needs to be rebuiltfs/btrfs/extent-tree.c+0 -51 reply

Reviews trailers per patch

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

PatchJosef Bacik
1/2
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: a couple bug fixes for failures of log replay and mount

From: Filipe Manana <[email protected]>

This small patchset fixes two bugs that lead to an -EINVAL failure during log replay, causing the filesystem mount to fail. They are relatively new regressions, one caused by the recent change to make space cache loading asynchronous and the other caused by the refactoring that made tracking pinned extents in the transaction instead of tracking them at fs_info.

Filipe Manana (2):
btrfs: fix log replay failure due to race with space cache rebuild
btrfs: fix log replay failure when space cache needs to be rebuilt

 fs/btrfs/block-group.c | 15 ++++++++++++---
 fs/btrfs/block-group.h |  3 ++-
 fs/btrfs/extent-tree.c | 15 +++++++++------
 3 files changed, 23 insertions(+), 10 deletions(-)
Signature · 1 line
2.28.0