xfs-linux: for-next **REBASED** to 64c80dfd04d1
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 **REBASED**.
Monday morning I was too overwhelmed with decisions to make such that I completely forgot that I could push my branches (with cover letters) to kernel.org and pull them into a new branch. Since the goal is to enable pull requests like a modern organization and preserve cover letters when possible, I felt it was important to go back and do it right. The code should be the same, its just the commit history that's a bit rewritten now.
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 [email protected] so they can be picked up in the next update. There's a number of fix patches still out for review:
The new corruption problem that only seems to manifest on arm64 is still happening, though it's turned into a heisenbug that disappears when I turn on the debugging. Every now and then the incore extent tree records become out of order, which causes xfs_repair failures afterwards. I've not figured out what's going on there, and I can only seem to reproduce it on the VM that runs the online scrub stress tests.
There's also Dave's v3 write()/writeback race bugfixes, which I will review and try to figure out how Brian's truncate speedup fits into that.
There's also the problem that dax+reflink throw weird corruption errors everywhere. I don't know what the status of those are, and I still don't have time to get to them. :/
The new head of the for-next branch is commit:
64c80dfd04d1 xfs: Print XFS UUID on mount and umount events.
33 new commits:
Darrick J. Wong (31):
[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
Long Li (1):
[59f6ab40fd87] xfs: fix sb write verify for lazysbcount
Lukas Herbolt (1):
[64c80dfd04d1] xfs: Print XFS UUID on mount and umount events.
Code Diffstat:
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_fsmap.c | 4 +- fs/xfs/xfs_inode.c | 2 +- fs/xfs/xfs_log.c | 10 +-- fs/xfs/xfs_mount.c | 15 +++++ fs/xfs/xfs_rtalloc.c | 60 +++++++++++++++-- fs/xfs/xfs_super.c | 2 +- 25 files changed, 523 insertions(+), 157 deletions(-)