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(-) -- 2.28.0
