[Cluster-devel] [ANNOUNCE] xfs-linux: for-next updated (with iomap changes) to 7dd73802f97d

Darrick J. Wong djwong at kernel.org
Tue Nov 29 17:08:12 UTC 2022


Hi folks,

The for-next branch of the xfs-linux repository at:

	git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git

has just been updated.

Patches often get missed, so please check if your outstanding patches
were in this update. If they have not been in this update, please
resubmit them to linux-xfs at vger.kernel.org so they can be picked up in
the next update.

**NOTE** I've merged Dave's fixes for the iomap write race corruption
problem.  The fixes require changes to fs/iomap/, hence the broader than
usual cc list.  There will be at least one more push with all the other
bug fixes pending on the list (realistically, at least two) but I wanted
to get this big piece out /early/ for advance testing by the robots.
This is extremely late in the cycle, but we gotta resolve these
problems.

I also found yet another corruption problem last night involving xfs/179
and a dax+reflink filesystem, so those will be getting written up and
sent out shortly.  Thank you all who have been reviewing the long stream
of bug fixes. :)

The new head of the for-next branch is commit:

7dd73802f97d Merge tag 'xfs-iomap-stale-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs into xfs-6.2-mergeB

44 new commits:

Darrick J. Wong (32):
      [9a48b4a6fd51] xfs: fully initialize xfs_da_args in xchk_directory_blocks
      [be1317fdb8d4] xfs: don't track the AGFL buffer in the scrub AG context
      [3e59c0103e66] xfs: log the AGI/AGF buffers when rolling transactions during an AG repair
      [48ff40458f87] xfs: standardize GFP flags usage in online scrub
      [b255fab0f80c] xfs: make AGFL repair function avoid crosslinked blocks
      [a7a0f9a5503f] xfs: return EINTR when a fatal signal terminates scrub
      [0a713bd41ea2] xfs: fix return code when fatal signal encountered during dquot scrub
      [fcd2a43488d5] xfs: initialize the check_owner object fully
      [6bf2f8791597] xfs: don't retry repairs harder when EAGAIN is returned
      [306195f355bb] xfs: pivot online scrub away from kmem.[ch]
      [9e13975bb062] xfs: load rtbitmap and rtsummary extent mapping btrees at mount time
      [11f97e684583] xfs: skip fscounters comparisons when the scan is incomplete
      [93b0c58ed04b] xfs: don't return -EFSCORRUPTED from repair when resources cannot be grabbed
      [5f369dc5b4eb] xfs: make rtbitmap ILOCKing consistent when scanning the rt bitmap file
      [e74331d6fa2c] xfs: online checking of the free rt extent count
      [033985b6fe87] xfs: fix perag loop in xchk_bmap_check_rmaps
      [6a5777865eeb] xfs: teach scrub to check for adjacent bmaps when rmap larger than bmap
      [830ffa09fb13] xfs: block map scrub should handle incore delalloc reservations
      [f23c40443d1c] xfs: check quota files for unwritten extents
      [31785537010a] xfs: check that CoW fork extents are not shared
      [5eef46358fae] xfs: teach scrub to flag non-extents format cow forks
      [bd5ab5f98741] xfs: don't warn about files that are exactly s_maxbytes long
      [f36b954a1f1b] xfs: check inode core when scrubbing metadata files
      [823ca26a8f07] Merge tag 'scrub-fix-ag-header-handling-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [af1077fa87c3] Merge tag 'scrub-cleanup-malloc-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [3d8426b13bac] Merge tag 'scrub-fix-return-value-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [b76f593b33aa] Merge tag 'scrub-fix-rtmeta-ilocking-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [7aab8a05e7c7] Merge tag 'scrub-fscounters-enhancements-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [cc5f38fa12fc] Merge tag 'scrub-bmap-enhancements-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [7b082b5e8afa] Merge tag 'scrub-check-metadata-inode-records-6.2_2022-11-16' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeA
      [2653d53345bd] xfs: fix incorrect error-out in xfs_remove
      [7dd73802f97d] Merge tag 'xfs-iomap-stale-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs into xfs-6.2-mergeB

Dave Chinner (9):
      [118e021b4b66] xfs: write page faults in iomap are not buffered writes
      [198dd8aedee6] xfs: punching delalloc extents on write failure is racy
      [b71f889c18ad] xfs: use byte ranges for write cleanup ranges
      [9c7babf94a0d] xfs,iomap: move delalloc punching to iomap
      [f43dc4dc3eff] iomap: buffered write failure should not truncate the page cache
      [7348b322332d] xfs: xfs_bmap_punch_delalloc_range() should take a byte range
      [d7b64041164c] iomap: write iomap validity checks
      [304a68b9c63b] xfs: use iomap_valid method to detect stale cached iomaps
      [6e8af15ccdc4] xfs: drop write error injection is unfixable, remove it

Long Li (2):
      [59f6ab40fd87] xfs: fix sb write verify for lazysbcount
      [28b4b0596343] xfs: fix incorrect i_nlink caused by inode racing

Lukas Herbolt (1):
      [64c80dfd04d1] xfs: Print XFS UUID on mount and umount events.

Code Diffstat:

 fs/iomap/buffered-io.c         | 254 ++++++++++++++++++++++++++++++++++++++++-
 fs/iomap/iter.c                |  19 ++-
 fs/xfs/libxfs/xfs_bmap.c       |   6 +-
 fs/xfs/libxfs/xfs_errortag.h   |  12 +-
 fs/xfs/libxfs/xfs_sb.c         |   4 +-
 fs/xfs/scrub/agheader.c        |  47 +++++---
 fs/xfs/scrub/agheader_repair.c |  81 ++++++++++---
 fs/xfs/scrub/attr.c            |  11 +-
 fs/xfs/scrub/bitmap.c          |  11 +-
 fs/xfs/scrub/bmap.c            | 147 +++++++++++++++++++-----
 fs/xfs/scrub/btree.c           |  14 ++-
 fs/xfs/scrub/common.c          |  48 +++++---
 fs/xfs/scrub/common.h          |   2 +-
 fs/xfs/scrub/dabtree.c         |   4 +-
 fs/xfs/scrub/dir.c             |  10 +-
 fs/xfs/scrub/fscounters.c      | 109 +++++++++++++++++-
 fs/xfs/scrub/inode.c           |   2 +-
 fs/xfs/scrub/quota.c           |   8 +-
 fs/xfs/scrub/refcount.c        |  12 +-
 fs/xfs/scrub/repair.c          |  51 ++++++---
 fs/xfs/scrub/scrub.c           |   6 +-
 fs/xfs/scrub/scrub.h           |  18 +--
 fs/xfs/scrub/symlink.c         |   2 +-
 fs/xfs/xfs_aops.c              |  18 ++-
 fs/xfs/xfs_bmap_util.c         |  10 +-
 fs/xfs/xfs_bmap_util.h         |   2 +-
 fs/xfs/xfs_error.c             |  27 +++--
 fs/xfs/xfs_file.c              |   2 +-
 fs/xfs/xfs_fsmap.c             |   4 +-
 fs/xfs/xfs_icache.c            |   6 +
 fs/xfs/xfs_inode.c             |   2 +-
 fs/xfs/xfs_iomap.c             | 169 ++++++++++++++++-----------
 fs/xfs/xfs_iomap.h             |   6 +-
 fs/xfs/xfs_log.c               |  10 +-
 fs/xfs/xfs_mount.c             |  15 +++
 fs/xfs/xfs_pnfs.c              |   6 +-
 fs/xfs/xfs_rtalloc.c           |  60 +++++++++-
 fs/xfs/xfs_super.c             |   2 +-
 include/linux/iomap.h          |  47 ++++++--
 39 files changed, 993 insertions(+), 271 deletions(-)



More information about the Cluster-devel mailing list