Hi folks, The xfsprogs repository at: git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git has just been updated and tagged with version v5.7.0-rc1 This will be v5.7.0 in a week or so unless I'm alerted to any flaws or critical missed patches. The brief changelog looks like this: xfsprogs-5.7.0-rc1 (15 Jul 2020) - remove libreadline support (Christoph Hellwig) - xfs_quota: allow individual timer extension (Eric Sandeen) - xfs_quota: fix unsigned int id comparisons (Darrick Wong) - xfs_repair: fix progress reporting (Eric Sandeen) - xfs_repair: fix minrecs error during phase5 btree rebuild (Gao Xiang) - xfs_repair: add missing validations to match xfs_check (Darrick Wong) - xfs_repair: use btree bulk loading (Darrick Wong) - xfs_io: fix copy_range argument parsing (Eric Sandeen) - xfs_io: document -q option for pread/pwrite command (Xiao Yang) - xfs_metadump: man page fixes (Kaixu Xia) - xfs_db: fix crc invalidation segfault (Anthony Iliopoulos) The new head of the master branch is commit: 8f015890 (HEAD -> guilt/for-next, tag: v5.7.0-rc1, korg/master, korg/for-next, refs/patches/for-next/5.7.0-rc1) xfsprogs: Release v5.7.0-rc1 New Commits: Anthony Iliopoulos (1): [a19679ec] xfs_db: fix crc invalidation segfault Christoph Hellwig (12): [bbe12eb9] xfsprogs: remove libreadline support [d5b6e335] xfsprogs: remove xfs_dir_ops [b98cd1f7] libxfs: use tabs instead of spaces in div_u64 [30f8e916] db: fix a comment in scan_freelist [27cd356f] db: add a comment to agfl_crc_flds [8e9a788f] db: cleanup attr_set_f and attr_remove_f [38cff22d] db: validate name and namelen in attr_set_f and attr_remove_f [951e17bc] db: ensure that create and replace are exclusive in attr_set_f [0c02ef9b] repair: cleanup build_agf_agfl [f19a627b] metadump: small cleanup for process_inode [5d0807ad] libxfs-apply: use git am instead of patch [273165cc] scrub: remove xfs_ prefixes from various function Darrick J. Wong (38): [b0c0cdb7] libxcmd: don't crash if el_gets returns null [8c4d190e] find_api_violations: fix sed expression [7161cd21] xfs_db: bounds-check access to the dbmap array [cafb847b] xfs_db: don't crash if el_gets returns null [bb9bedb6] xfs_db: fix rdbmap_boundscheck [981e63e0] debian: replace libreadline with libedit [eaa5b0b7] xfs_quota: fix unsigned int id comparisons [be752639] xfs_repair: fix missing dir buffer corruption checks [41f8fc57] xfs_repair: warn when we would have rebuilt a directory [cae4fd29] xfs_repair: check for AG btree records that would wrap around [2212e773] xfs_repair: fix bnobt and refcountbt record order checks [2a0f9efe] xfs_repair: check for out-of-order inobt records [db2a77d1] xfs_repair: fix rmapbt record order check [08280b4b] xfs_repair: tag inobt vs finobt errors properly [320cc3b2] xfs_repair: complain about bad interior btree pointers [dcd6c2e1] xfs_repair: convert to libxfs_verify_agbno [6271fa06] xfs_repair: refactor verify_dfsbno_range [a6bd55d3] xfs_repair: remove verify_dfsbno [04777511] xfs_repair: remove verify_aginum [15fd0ca2] xfs_repair: mark entire free space btree record as free1 [f4cea8e8] xfs_repair: complain about free space only seen by one btree [32e11be9] xfs_repair: complain about extents in unknown state [0ce3577f] xfs_repair: complain about any nonzero inprogress value, not just 1 [98206665] xfs_repair: drop lostblocks from build_agf_agfl [3acf0068] xfs_repair: rename the agfl index loop variable in build_agf_agfl [49031e66] xfs_repair: make container for btree bulkload root and block reservation [cca4dbfe] xfs_repair: inject lost blocks back into the fs no matter the owner [79f86c9d] xfs_repair: create a new class of btree rebuild cursors [7e5ec4e4] xfs_repair: rebuild free space btrees with bulk loader [7a21223c] xfs_repair: rebuild inode btrees with bulk loader [dc9f4f5e] xfs_repair: rebuild reverse mapping btrees with bulk loader [3c1ce0fc] xfs_repair: rebuild refcount btrees with bulk loader [e75cef63] xfs_repair: remove old btree rebuild support code [c94d40ce] xfs_repair: use bitmap to track blocks lost during btree construction [a891d871] xfs_repair: complain about ag header crc errors [6ffc9523] xfs_repair: simplify free space btree calculations in init_freespace_cursors [41865980] xfs_repair: try to fill the AGFL before we fix the freelist [4dcaa160] xfs_copy: flush target devices before exiting Eric Sandeen (6): [baed08dd] xfs_io: copy_range can take up to 8 arguments [a4d94d6c] xfs_repair: fix progress reporting [67a73d61] xfs_quota: refactor code to generate id from name [36dc471c] xfs_quota: allow individual timer extension [e48f6fbc] xfs_repair: remove gratuitous code block in phase5 [8f015890] xfsprogs: Release v5.7.0-rc1 Gao Xiang (1): [6df28d12] xfs_repair: fix rebuilding btree block less than minrecs Kaixu Xia (2): [9f9ee751] mkfs: simplify the configured sector sizes setting in validate_sectorsize [957fd6cf] metadump: remove redundant bracket and show right SYNOPSIS Xiao Yang (1): [0388cfb1] xfs_io: Document '-q' option for pread/pwrite command Code Diffstat: VERSION | 2 +- configure.ac | 9 +- copy/xfs_copy.c | 24 +- db/Makefile | 5 - db/agfl.c | 1 + db/attrset.c | 87 +- db/check.c | 45 +- db/crc.c | 2 +- db/input.c | 49 +- db/metadump.c | 3 +- debian/changelog | 6 + debian/control | 2 +- debian/rules | 2 +- doc/CHANGES | 13 + growfs/Makefile | 3 - include/builddefs.in | 2 - include/libxfs.h | 1 + include/xfs_inode.h | 2 - include/xfs_mount.h | 3 - io/Makefile | 4 - io/copy_file_range.c | 2 +- io/pread.c | 3 +- io/pwrite.c | 3 +- libxcmd/Makefile | 5 - libxcmd/input.c | 38 +- libxfs/libxfs_api_defs.h | 12 + libxfs/libxfs_priv.h | 4 +- libxfs/rdwr.c | 8 - libxfs/util.c | 8 - man/man8/xfs_io.8 | 10 +- man/man8/xfs_metadump.8 | 1 - man/man8/xfs_quota.8 | 36 +- mkfs/xfs_mkfs.c | 17 +- quota/Makefile | 5 - quota/edit.c | 277 ++--- repair/Makefile | 4 +- repair/agbtree.c | 696 ++++++++++++ repair/agbtree.h | 62 + repair/attr_repair.c | 2 +- repair/bulkload.c | 140 +++ repair/bulkload.h | 62 + repair/da_util.c | 25 +- repair/dino_chunks.c | 6 +- repair/dinode.c | 109 +- repair/dinode.h | 14 - repair/dir2.c | 21 + repair/phase2.c | 6 + repair/phase4.c | 11 +- repair/phase5.c | 2580 +++++------------------------------------- repair/phase6.c | 4 +- repair/prefetch.c | 9 +- repair/progress.c | 35 +- repair/progress.h | 31 +- repair/sb.c | 3 +- repair/scan.c | 166 ++- repair/xfs_repair.c | 17 + scrub/common.c | 2 +- scrub/common.h | 2 +- scrub/filemap.c | 2 +- scrub/inodes.c | 2 +- scrub/phase1.c | 8 +- scrub/phase2.c | 8 +- scrub/phase3.c | 18 +- scrub/phase4.c | 2 +- scrub/phase5.c | 2 +- scrub/phase7.c | 2 +- scrub/repair.c | 2 +- scrub/scrub.c | 106 +- scrub/scrub.h | 42 +- scrub/spacemap.c | 2 +- scrub/vfs.c | 2 +- scrub/xfs_scrub.c | 4 +- spaceman/Makefile | 4 - tools/find-api-violations.sh | 10 +- tools/libxfs-apply | 4 +- 75 files changed, 1990 insertions(+), 2931 deletions(-) create mode 100644 repair/agbtree.c create mode 100644 repair/agbtree.h create mode 100644 repair/bulkload.c create mode 100644 repair/bulkload.h