Skip to contentSkip to conversation

xfs: bug fixes for 6.11

GIT PULL Merged Chandan Babu R 2 participants 2 messages Aug 31, 2024 VFS

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull this branch which contains XFS bug fixes for 6.11-rc6. A brief description of the fixes is provided below.

I did a test-merge with the main upstream branch as of a few minutes ago and didn't see any conflicts. Please let me know if you encounter any problems.

The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:

Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-6.11-fixes-4

for you to fetch changes up to a24cae8fc1f13f6f6929351309f248fd2e9351ce:

xfs: reset rootdir extent size hint after growfsrt (2024-08-27 18:32:14 +0530)

----------------------------------------------------------------
Bug fixes for 6.11-rc6:

* Do not call out v1 inodes with non-zero di_nlink field as being corrupt.
* Change xfs_finobt_count_blocks() to count "free inode btree" blocks rather than "inode btree" blocks.
* Don't report the number of trimmed bytes via FITRIM because the underlying storage isn't required to do anything and failed discard IOs aren't reported to the caller anyway.
* Fix incorrect setting of rm_owner field in an rmap query.
* Report missing disk offset range in an fsmap query.
* Obtain m_growlock when extending realtime section of the filesystem.
* Reset rootdir extent size hint after extending realtime section of the filesystem.

----------------------------------------------------------------
Darrick J. Wong (6):
xfs: fix di_onlink checking for V1/V2 inodes
xfs: fix folio dirtying for XFILE_ALLOC callers
xfs: don't bother reporting blocks trimmed via FITRIM
xfs: use XFS_BUF_DADDR_NULL for daddrs in getfsmap code
xfs: take m_growlock when running growfsrt
xfs: reset rootdir extent size hint after growfsrt

Dave Chinner (1):
xfs: xfs_finobt_count_blocks() walks the wrong btree

Zizhi Wo (2):
xfs: Fix the owner setting issue for rmap query in xfs fsmap
xfs: Fix missing interval for missing_owner in xfs fsmap

 fs/xfs/libxfs/xfs_ialloc_btree.c |  2 +-
 fs/xfs/libxfs/xfs_inode_buf.c    | 14 +++++---
 fs/xfs/scrub/xfile.c             |  2 +-
 fs/xfs/xfs_discard.c             | 36 ++++++-------------
 fs/xfs/xfs_fsmap.c               | 30 +++++++++++++---
 fs/xfs/xfs_rtalloc.c             | 78 +++++++++++++++++++++++++++++++++-------
 6 files changed, 114 insertions(+), 48 deletions(-)