[GIT PULL] Btrfs fixes for 5.7-rc2

From: David Sterba
Date: Tue Apr 14 2020 - 10:00:45 EST


Hi,

we have a few regressions and one fix for stable. Please pull, thanks.

* revert fsync optimization

* fix lost i_size update

* fix a space accounting leak

* build fix, add back definition of a deprecated ioctl flag

* fix search condition for old roots in relocation

----------------------------------------------------------------
The following changes since commit 6ff06729c22ec0b7498d900d79cc88cfb8aceaeb:

btrfs: fix missing semaphore unlock in btrfs_sync_file (2020-03-25 16:29:16 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.7-rc1-tag

for you to fetch changes up to 34c51814b2b87cb2e5a98c92fe957db2ee8e27f4:

btrfs: re-instantiate the removed BTRFS_SUBVOL_CREATE_ASYNC definition (2020-04-10 18:48:27 +0200)

----------------------------------------------------------------
Eugene Syromiatnikov (1):
btrfs: re-instantiate the removed BTRFS_SUBVOL_CREATE_ASYNC definition

Filipe Manana (3):
btrfs: fix lost i_size update after cloning inline extent
btrfs: make full fsyncs always operate on the entire file again
btrfs: fix reclaim counter leak of space_info objects

Josef Bacik (1):
btrfs: check commit root generation in should_ignore_root

fs/btrfs/block-group.c | 1 +
fs/btrfs/file.c | 15 ++++++++
fs/btrfs/reflink.c | 1 +
fs/btrfs/relocation.c | 4 +-
fs/btrfs/space-info.c | 20 +++++++---
fs/btrfs/tree-log.c | 93 +++++++---------------------------------------
include/uapi/linux/btrfs.h | 10 ++---
7 files changed, 51 insertions(+), 93 deletions(-)