Skip to contentSkip to conversation

Btrfs fixes for 5.9-rc8

GIT PULL Merged David Sterba 2 participants 2 messages Oct 2, 2020 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

two more fixes. One is for a lockdep warning/lockup (also caught by syzbot), that one has been seen in practice. Regarding the other syzbot reports mentioned last time, they don't seem to be urgent and reliably reproducible so they'll be fixed later.

The second fix is for a potential corruption when device replace finishes and the in-memory state of trim is not copied to the new device.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit b5ddcffa37778244d5e786fe32f778edf2bfc93e:

btrfs: fix put of uninitialized kobject after seed device delete (2020-09-22 15:57:52 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.9-rc7-tag

for you to fetch changes up to 4c8f353272dd1262013873990c0fafd0e3c8f274:

btrfs: fix filesystem corruption after a device replace (2020-09-30 19:40:51 +0200)

----------------------------------------------------------------
Filipe Manana (1):
btrfs: fix filesystem corruption after a device replace

Josef Bacik (2):
btrfs: move btrfs_scratch_superblocks into btrfs_dev_replace_finishing
btrfs: move btrfs_rm_dev_replace_free_srcdev outside of all locks

 fs/btrfs/dev-replace.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
 fs/btrfs/volumes.c     | 13 +++++--------
 fs/btrfs/volumes.h     |  3 +++
 3 files changed, 52 insertions(+), 10 deletions(-)