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@xxxxxxxxxxxxxxx so they can be picked up in the next update. Today we're merging the knobs we need to test the iomap invalidations, and the miscellaneous fixes that have been circulating on the list for some time. Tomorrow I'll follow up with the MAXREFCOUNT fixes and that assertion removal. Hopefully that will be all for 6.2. The new head of the for-next branch is commit: 575689fc0ffa xfs: fix super block buf log item UAF during force shutdown 54 new commits: Darrick J. Wong (40): [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 [c2beff99eb03] xfs: add debug knob to slow down writeback for fun [254e3459285c] xfs: add debug knob to slow down write for fun [032e160305f6] xfs: invalidate block device page cache during unmount [fd5beaff250d] xfs: use memcpy, not strncpy, to format the attr prefix during listxattr [e5827a007aa4] xfs: shut up -Wuninitialized in xfsaild_push [4c6dbfd2756b] xfs: attach dquots to inode before reading data/cow fork mappings [cd14f15b0e64] Merge tag 'iomap-write-race-testing-6.2_2022-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeC [4b4d11bbeca4] Merge tag 'random-fixes-6.2_2022-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.2-mergeC 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 Guo Xuenan (2): [1eb52a6a7198] xfs: wait iclog complete before tearing down AIL [575689fc0ffa] xfs: fix super block buf log item UAF during force shutdown 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 | 18 +-- 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 | 32 +++--- fs/xfs/xfs_bmap_util.c | 10 +- fs/xfs/xfs_bmap_util.h | 2 +- fs/xfs/xfs_buf.c | 1 + fs/xfs/xfs_buf_item.c | 2 + fs/xfs/xfs_error.c | 46 ++++++-- fs/xfs/xfs_error.h | 13 +++ 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 | 187 ++++++++++++++++++------------ fs/xfs/xfs_iomap.h | 6 +- fs/xfs/xfs_log.c | 46 +++++--- fs/xfs/xfs_mount.c | 15 +++ fs/xfs/xfs_pnfs.c | 6 +- fs/xfs/xfs_rtalloc.c | 60 +++++++++- fs/xfs/xfs_super.c | 2 +- fs/xfs/xfs_trace.c | 2 + fs/xfs/xfs_trace.h | 86 ++++++++++++++ fs/xfs/xfs_trans_ail.c | 4 +- fs/xfs/xfs_xattr.c | 2 +- include/linux/iomap.h | 47 ++++++-- 46 files changed, 1176 insertions(+), 291 deletions(-)