[GIT PULL] xfs: fixes for 5.5-rc3

From: Darrick J. Wong
Date: Sun Dec 22 2019 - 11:32:26 EST


Hi Linus,

Please pull these bug fixes for 5.5-rc3, which fix a few bugs that could
lead to corrupt files, fsck complaints, and filesystem crashes.

The branch has survived a couple of days of xfstests runs and merges
cleanly with this morning's master. Please let me know if anything
strange happens.

--D

The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a:

Linux 5.5-rc1 (2019-12-08 14:57:55 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.5-fixes-2

for you to fetch changes up to 5084bf6b2006fcd46f1e44e3c51b687507b362e2:

xfs: Make the symbol 'xfs_rtalloc_log_count' static (2019-12-20 08:07:31 -0800)

----------------------------------------------------------------
Fixes for 5.5:
- Minor documentation fixes
- Fix a file corruption due to read racing with an insert range
operation.
- Fix log reservation overflows when allocating large rt extents
- Fix a buffer log item flags check
- Don't allow administrators to mount with sunit= options that will
cause later xfs_repair complaints about the root directory being
suspicious because the fs geometry appeared inconsistent
- Fix a non-static helper that should have been static

----------------------------------------------------------------
Brian Foster (2):
xfs: stabilize insert range start boundary to avoid COW writeback race
xfs: use bitops interface for buf log item AIL flag check

Chen Wandun (1):
xfs: Make the symbol 'xfs_rtalloc_log_count' static

Darrick J. Wong (5):
xfs: fix log reservation overflows when allocating large rt extents
libxfs: resync with the userspace libxfs
xfs: refactor agfl length computation function
xfs: split the sunit parameter update into two parts
xfs: don't commit sunit/swidth updates to disk if that would cause repair failures

Randy Dunlap (1):
xfs: fix Sphinx documentation warning

Documentation/admin-guide/xfs.rst | 2 +-
fs/xfs/libxfs/xfs_alloc.c | 18 ++--
fs/xfs/libxfs/xfs_bmap.c | 5 +-
fs/xfs/libxfs/xfs_dir2.c | 21 +++++
fs/xfs/libxfs/xfs_dir2_priv.h | 29 ++-----
fs/xfs/libxfs/xfs_dir2_sf.c | 6 +-
fs/xfs/libxfs/xfs_ialloc.c | 64 +++++++++++++++
fs/xfs/libxfs/xfs_ialloc.h | 1 +
fs/xfs/libxfs/xfs_trans_resv.c | 96 +++++++++++++++++-----
fs/xfs/xfs_bmap_util.c | 12 +++
fs/xfs/xfs_buf_item.c | 2 +-
fs/xfs/xfs_mount.c | 168 ++++++++++++++++++++++++++------------
fs/xfs/xfs_trace.h | 21 +++++
13 files changed, 341 insertions(+), 104 deletions(-)