[GIT PULL] Btrfs fixes for 5.11-rc4

From: David Sterba
Date: Mon Jan 11 2021 - 16:12:31 EST


Hi,

more material for stable trees. Please pull, thanks.

- tree-checker: check item end overflow

- fix false warning during relocation regarding extent type

- fix inode flushing logic, caused notable performance regression (since
5.10)

- debugging fixups:
- print correct offset for reloc tree key
- pass reliable fs_info pointer to error reporting helper

----------------------------------------------------------------
The following changes since commit a8cc263eb58ca133617662a5a5e07131d0ebf299:

btrfs: run delayed iputs when remounting RO to avoid leaking them (2020-12-18 15:00:08 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.11-rc3-tag

for you to fetch changes up to e076ab2a2ca70a0270232067cd49f76cd92efe64:

btrfs: shrink delalloc pages instead of full inodes (2021-01-08 16:36:44 +0100)

----------------------------------------------------------------
Josef Bacik (2):
btrfs: print the actual offset in btrfs_root_name
btrfs: shrink delalloc pages instead of full inodes

Qu Wenruo (1):
btrfs: reloc: fix wrong file extent type check to avoid false ENOENT

Su Yue (2):
btrfs: prevent NULL pointer dereference in extent_io_tree_panic
btrfs: tree-checker: check if chunk item end overflows

fs/btrfs/disk-io.c | 2 +-
fs/btrfs/extent_io.c | 4 +---
fs/btrfs/inode.c | 60 +++++++++++++++++++++++++++++++++++--------------
fs/btrfs/print-tree.c | 10 ++++-----
fs/btrfs/print-tree.h | 2 +-
fs/btrfs/relocation.c | 7 +++++-
fs/btrfs/space-info.c | 4 +++-
fs/btrfs/tree-checker.c | 7 ++++++
8 files changed, 67 insertions(+), 29 deletions(-)