[GIT PULL] Btrfs fixes for 5.13-rc2
From: David Sterba
Date: Mon May 10 2021 - 17:08:47 EST
Hi,
first batch of various fixes, here's a list of notable ones:
- fix unmountable seed device after fstrim
- fix silent data loss in zoned mode due to ordered extent splitting
- fix race leading to unpersisted data and metadata on fsync
- fix deadlock when cloning inline extents and using qgroups
Please pull, thanks.
----------------------------------------------------------------
The following changes since commit 18bb8bbf13c1839b43c9e09e76d397b753989af2:
btrfs: zoned: automatically reclaim zones (2021-04-20 20:46:31 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.13-rc1-tag
for you to fetch changes up to 77364faf21b4105ee5adbb4844fdfb461334d249:
btrfs: initialize return variable in cleanup_free_space_cache_v1 (2021-05-04 18:05:15 +0200)
----------------------------------------------------------------
Anand Jain (1):
btrfs: fix unmountable seed device after fstrim
Filipe Manana (4):
btrfs: zoned: fix silent data loss after failure splitting ordered extent
btrfs: do not consider send context as valid when trying to flush qgroups
btrfs: fix race leading to unpersisted data and metadata on fsync
btrfs: fix deadlock when cloning inline extents and using qgroups
Naohiro Aota (1):
btrfs: zoned: sanity check zone type
Tom Rix (1):
btrfs: initialize return variable in cleanup_free_space_cache_v1
fs/btrfs/ctree.h | 2 +-
fs/btrfs/extent-tree.c | 6 +++++-
fs/btrfs/file.c | 35 +++++++++++++++++++++++++----------
fs/btrfs/free-space-cache.c | 2 +-
fs/btrfs/inode.c | 4 ++--
fs/btrfs/ioctl.c | 2 +-
fs/btrfs/ordered-data.c | 2 +-
fs/btrfs/qgroup.c | 16 ++++++++++------
fs/btrfs/send.c | 4 ++--
fs/btrfs/tree-log.c | 3 ++-
fs/btrfs/zoned.c | 5 +++++
11 files changed, 55 insertions(+), 26 deletions(-)