[GIT PULL] Btrfs fixes for 5.1-rc3

From: David Sterba
Date: Tue Mar 26 2019 - 10:14:42 EST


Hi,

please pull the following tag to receive:

- fsync fixes: i_size for truncate vs fsync, dio vs buffered during
snapshotting, remove complicated but incomplete assertion

- removed excessive warnigs, misreported device stats updates

- fix raid56 page mapping for 32bit arch

- fixes reported by static analyzer

Thanks.

----------------------------------------------------------------
The following changes since commit d3865159ac7823f645d313fdbac0b256ac01eeb9:

btrfs: zstd: ensure reclaim timer is properly cleaned up (2019-02-27 17:45:04 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.1-rc2-tag

for you to fetch changes up to 0ccc3876e4b2a1559a4dbe3126dda4459d38a83b:

Btrfs: fix assertion failure on fsync with NO_HOLES enabled (2019-03-20 19:53:39 +0100)

----------------------------------------------------------------
Andrea Righi (1):
btrfs: raid56: properly unmap parity page in finish_parity_scrub()

David Sterba (1):
btrfs: don't report readahead errors and don't update statistics

Filipe Manana (3):
Btrfs: fix incorrect file size after shrinking truncate and fsync
Btrfs: fix file corruption after snapshotting due to mix of buffered/DIO writes
Btrfs: fix assertion failure on fsync with NO_HOLES enabled

Josef Bacik (1):
btrfs: remove WARN_ON in log_dir_items

Nikolay Borisov (2):
btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size

fs/btrfs/extent-tree.c | 2 +-
fs/btrfs/qgroup.c | 4 ++--
fs/btrfs/raid56.c | 3 ++-
fs/btrfs/transaction.c | 49 +++++++++++++++++++++++++++++++++++++++++++------
fs/btrfs/tree-log.c | 33 +++++++++++++++++++++++----------
fs/btrfs/volumes.c | 2 +-
6 files changed, 72 insertions(+), 21 deletions(-)