)]}'
{
  "log": [
    {
      "commit": "ad592b92d6774cb520d1492bf17685fb5eede99d",
      "tree": "58f678a8a5d30e913f77f5fb63dd1735f7e3c235",
      "parents": [
        "97f29574e12e4e6284a467544c8265fadfdfc6c3"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 25 12:01:50 2026 -0500"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 25 14:13:22 2026 -0500"
      },
      "message": "ext4: set s_user_ns in the KUnit tests\u0027 fake superblocks\n\nxattr_test_init() builds a fake super_block but never sets s_user_ns.\next4_xattr_inode_create() calls i_uid_read() and i_gid_read() on the\nparent inode, which map the ids through inode-\u003ei_sb-\u003es_user_ns.  With\nCONFIG_USER_NS\u003dy this dereferences a NULL user namespace and triggers\nan oops.  Fix this by pointing s_user_ns at init_user_ns.\n\nDo the same for the dir, hash, inline and namei tests so they don\u0027t\nfail if new test cases try to read an inode owner.\n\nFixes: 5df08dcafa99 (\"ext4: add KUnit tests for fs/ext4/xattr.c\")\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "97f29574e12e4e6284a467544c8265fadfdfc6c3",
      "tree": "6ea5d21ece7e83e63c241a921c24af6c3ce41335",
      "parents": [
        "4dce97c6c265544342e716e62fd24bbb232590c5"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 25 11:54:40 2026 -0500"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 25 14:13:14 2026 -0500"
      },
      "message": "ext4: stub ext4_sb_find_get_block_nonatomic() in the inode KUnit tests\n\nThe merge of the ext4 KUnit tests with commit d25c14b2d79e (\"ext4: use\nsb_find_get_block_nonatomic() in ext4_get_inode_loc_noio()\") added a\nstubbable ext4_sb_find_get_block_nonatomic() wrapper and switched\next4_get_inode_loc_noio() to it.  However, inode_test_setup() still\nonly stubs ext4_sb_find_get_block(), breaking some KUnit tests.\n\nFix this by adding the missing stub.\n\nFixes: 4dce97c6c265 (\"Merge tag \u0027ext4_for_linus-7.4-rc5\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4\")\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "4dce97c6c265544342e716e62fd24bbb232590c5",
      "tree": "f66d2a417fb1b11b613148a0272176b77f68bb17",
      "parents": [
        "4ca7b0f616629ca70148c45707e10455f3135fd4",
        "bae28a1b11f422d0214654800d9425e042295c71"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Nov 24 12:27:37 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Nov 24 12:27:37 2026 -0800"
      },
      "message": "Merge tag \u0027ext4_for_linus-7.4-rc5\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4\n\nPull ext4 updates from Ted Ts\u0027o:\n \"The bulk of the new lines was caused by adding KUnit tests, which\n  makes it safer to validate AI generated patches.\n\n  Three minor performance provements:\n\n   - Spread the inodes of files in sibling directories over the block\n     groups of a flex group. This avoids contention on the inode table\n     buffer locks and significantly speeds up parallel file creation\n\n   - Move the orphan list tracking fields in ext4_sb_info off the cache\n     line shared with the journal state, which improves unlink\n     performance on file systems without the orphan_file feature\n\n   - Speed up fast commit replay for sparse files by skipping holes when\n     shrinking the extent tree.\n\n  A huge number of bug fixes, most of which were AI generated:\n\n   - Fast commit fixes to avoid losing fsync\u0027ed data after a journal\n     flush or when part of an unwritten extent is zeroed out, to not\n     fail journal recovery on a torn fast commit, and to propagate\n     errors and validate inodes during replay\n\n   - Check the return value of blkdev_issue_flush() in ext4 and jbd2,\n     and record failed delalloc writeback and unwritten extent\n     conversions as writeback errors so fsync() can report them\n\n   - Fixes for EXT4_IOC_MIGRATE, including data loss for contiguous\n     ranges longer than EXT_INIT_MAX_LEN, a logical block overflow with\n     block sizes of 8k and larger, and error paths which freed extent\n     tree blocks that were still in use\n\n   - Fix stale data being returned after a failed zeroout, and after a\n     FALLOC_FL_ZERO_RANGE or FALLOC_FL_WRITE_ZEROES which covers the EOF\n     block\n\n   - Fix out-of-bounds accesses in the inline data and in-inode xattr\n     code when handling corrupted file systems\n\n   - Fix i_size being advanced by a buffered write which failed with\n     EFAULT\n\n   - Fix use-after-frees in the discard work on a failed mount and in\n     ext4_split_convert_extents()\n\n   - Fix a buffer/folio lock inversion deadlock in\n     __ext4_get_inode_loc() when the folio size is larger than the block\n     size\n\n   - Fix readdir position truncation on 32-bit kernels for directories\n     larger than 4 GiB\n\n   - Accept the orphan file created by e2fsprogs 1.47.4 on file systems\n     with a 1k block size\n\n   - Treat a directory entry rec_len of 0 as corruption for block sizes\n     smaller than 64k\n\n   - Return an error instead of using a bogus block number when the\n     journal inode has a hole\n\n   - Don\u0027t report ENOSPC or EDQUOT when converting inline data in\n     truncate as a file system error\n\n   - Fix the scan accounting in the extent status and jbd2 checkpoint\n     shrinkers so that they stop once there is nothing left to scan\n\n   - Complete the writeback of RWF_DONTCACHE writes in task context so\n     that their folios are reliably dropped from the page cache\n\n   - Only advertise atomic writes on inodes which can support them\n     (excluding DAX and data\u003djournal inodes), never fall back to\n     buffered I/O for an atomic write, and set awu_max_opt in statx\n\n   - Miscellaneous fixes for reference and memory leaks, error return\n     values, documentation, and static checker warnings\"\n\n* tag \u0027ext4_for_linus-7.4-rc5\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (94 commits)\n  ext4: add KUnit regression tests for inode migration fixes\n  ext4: add KUnit tests for fs/ext4/dir.c\n  ext4: add KUnit tests for fs/ext4/mmp.c\n  ext4: add KUnit tests for fs/ext4/move_extent.c\n  ext4: add KUnit tests for fs/ext4/fsmap.c\n  ext4: expand KUnit tests in fs/ext4/extents-test.c for file range operations\n  ext4: add KUnit tests for fs/ext4/indirect.c\n  ext4: add KUnit tests for fs/ext4/migrate.c\n  ext4: add KUnit tests for fs/ext4/resize.c\n  ext4: add KUnit tests for fs/ext4/ioctl.c\n  ext4: add KUnit tests for fs/ext4/sysfs.c\n  ext4: add KUnit tests for fs/ext4/super.c\n  ext4: enable full feature coverage in fs/ext4/.kunitconfig\n  ext4: check multi-block overlap on left traversal in add_system_zone()\n  ext4: add KUnit tests for fs/ext4/block_validity.c\n  ext4: add KUnit tests for fs/ext4/orphan.c\n  ext4: add KUnit tests for fs/ext4/balloc.c\n  ext4: add KUnit tests for fs/ext4/ialloc.c\n  ext4: expand KUnit tests for fs/ext4/inode.c\n  ext4: add KUnit tests for fs/ext4/fast_commit.c\n  ...\n"
    },
    {
      "commit": "4ca7b0f616629ca70148c45707e10455f3135fd4",
      "tree": "48f2e2edcc49f798177946fc4c5dbbe5c75d3244",
      "parents": [
        "8d7fe9885c62fc9a95bf55d9db244d9672a8aadc",
        "3df238d7a9f5ac7d78115958fd7a36139f61ca34"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Nov 24 11:40:57 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Nov 24 11:40:57 2026 -0800"
      },
      "message": "Merge tag \u0027kbuild-fixes-7.4-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux\n\nPull Kbuild fixes from Nathan Chancellor:\n\n - Move GCC 17\u0027s implementation of -Wconstant-logical-operand to W\u003d2\n   to fix builds with -Werror\n\n - Disable LLVM\u0027s flow-based profile inference algorithm (Profi) for\n   AutoFDO, which can degrade runtime performance and cause pathological\n   compilation time issues\n\n* tag \u0027kbuild-fixes-7.4-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:\n  kbuild: AutoFDO: Disable Profi (-fno-sample-profile-use-profi)\n  kbuild: move gcc\u0027s -Wconstant-logical-operand to W\u003d2\n"
    },
    {
      "commit": "8d7fe9885c62fc9a95bf55d9db244d9672a8aadc",
      "tree": "fe970b05333fb8e41da21e9e289f652abcc7cba7",
      "parents": [
        "42e225323067a222230068651cf886bd7fbb1fe2",
        "10bc1d627c297097cfdc099377f8a13efdfffd86"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Nov 23 17:29:01 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Nov 23 17:29:01 2026 -0800"
      },
      "message": "Merge tag \u0027hid-for-linus-2026112301\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid\n\nPull HID fixes from Jiri Kosina:\n \"Mostly functional code fixes all over the place, plus a few new device\n  IDs support.\n\n  The amount of patches is slightly higher than I\u0027d like to see for rc4,\n  and there are two reasons for it -- the amount of patches is much\n  higher overall, due to all the AI fixes coming to the driver land, and\n  both myself and Benjamin have been pretty much unable to process\n  incoming patches for a past couple weeks for various reasons; but\n  we\u0027re getting back on track\"\n\n* tag \u0027hid-for-linus-2026112301\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (42 commits)\n  HID: nintendo: release the player ID when LED setup fails\n  HID: quirks: add ALWAYS_POLL quirk for Keychron Link receiver\n  HID: wacom: Prevent NULL dereference in wireless work\n  HID: intel-thc-hid: intel-quickspi: validate GET REPORT response size\n  HID: apple: Add \"F108Pro Dongle\" to the list of non-apple keyboards\n  HID: saitek: don\u0027t dereference a NULL hidinput in saitek_event()\n  HID: asus: map Consumer brightness usages on I2C keyboards\n  HID: multitouch: Preserve class quirks when inverting orientation\n  HID: Intel-thc-hid: Fix REGMAP dependency\n  HID: wacom: Access shared touch input by rcu_dereference()\n  HID: steelseries: Add MSI Raider A18 HX A7VHG to RGB DMI table\n  HID: quirks: add ALWAYS_POLL for ASUS ProArt MD301 mouse\n  HID: letsketch: skip string descriptors the firmware does not implement\n  HID: logitech-dj: Add support for G915 receiver 0xc541\n  HID: sony: fix sleeping in atomic context in RB3 Pro raw event handler\n  HID: betop: add support for SPEEDLINK TORID\n  HID: core: serialize report_descriptor_read() against probe and remove\n  HID: asus: Resume the device before sending feature reports\n  HID: nintendo: fix lost update of player LED state\n  HID: wiimote: initialise rumble_worker once per device\n  ...\n"
    },
    {
      "commit": "42e225323067a222230068651cf886bd7fbb1fe2",
      "tree": "a1eb4dabe234c269ba18bf1b94e3d0ee8b36c00d",
      "parents": [
        "b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f",
        "bd1be6e0267d7a52425bd515c53e9a49bd4e2a12"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Nov 23 16:46:40 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Nov 23 16:46:40 2026 -0800"
      },
      "message": "Merge tag \u0027for-linus\u0027 of git://git.kernel.org/pub/scm/virt/kvm/kvm\n\nPull kvm fixes from Paolo Bonzini:\n \"A large set of fixes, mostly for Arm but almost all architectures\n  are represented.\n\n  arm64 MMU fixes:\n\n   - Correctly sanitise the TCR_EL2 register\n\n   - Stop advertising LPA2 to NV guest when it isn\u0027t supported\n\n   - Correctly convert EH2\u003d\u003d0\u0027s view of TCR_EL2 into the E2H\u003d\u003d1 format\n\n   - Make sure an EL2 mapping is immediately visible to the hypervisor\n     code, as we don\u0027t necessarily require ETS\n\n   - Address a horrible situation where a guest can livelock when trying\n     to solve a permission fault whilst the underlying S2 PTs have AF\u003d0\n\n   - Correctly wipe MTE tags for large mappings instead of just the head\n     page, providing a convenient helper for this\n\n   - Fix dirty logging detection in ring-only mode\n\n   - Use ATS1A whenever FEAT_S1PIE is present\n\n   - Fix arbitrary truncation to 32bit when dealing with pool size\n\n   - Correctly order page pin refconting\n\n   - Prevent a HYP block mapping from being replaced with a table\n\n   - Fix NV Range invalidation by extending the boundaries to the next\n     block mapping\n\n   - Make sure the correct hw_mmu gets picked on the first run, should\n     userspace restore a nested context between init and the first\n     vcpu_load()\n\n   - Reject TLBI IPAS2E1 that fall outside of the S2 range\n\n  arm64 system register fixes:\n\n   - Correctly forward POE/PIE/TVAL EL2 register traps\n\n   - Add a sanity check for missing trap forwarding\n\n   - Correctly hide generic PAuth for pKVM protected guests when the\n     feature PAuth has been exluced from the feature set\n\n   - Make sure that HCR_EL2.NV1 is always RES0\n\n  arm64 VGIC fixes:\n\n   - Fix a bunch of low-impact issues with GICv4, avoiding leaks on\n     unlikely failure paths\n\n   - Use a separate lockdep class for vPE doorbells, and guarantee that\n     they are never threaded\n\n   - Avoid spurious allocation of VPEs when userspace decided not to\n     expose nASSGIcap\n\n   - Fix spurious preservation of the pending state after DISCARD and\n     CLEAR ITS commands\n\n   - Make sure GITS_CTLR.Enabled is updated under the its_lock\n\n   - Serialise vgic CTRL_INIT against vCPU creation\n\n   - Make the forwarding of LPIs tobust against LPIs being disabled on\n     the target redistributor\n\n  arm64 pKVM fixes:\n\n   - Fix the reset of GICv3 LRs for pKVM, de-uglifying the PM paths\n     whilst at it\n\n   - Fix PMU handling for both protected and non-protected guests,\n     fixing the synchronisation of kvm_host_data in the process\n\n   - Correctly invalidate TLBs and I-cache when multiplexing multiple\n     vcpus of the same VM on a single physical CPU\n\n  arm64 feature visibility fixes:\n\n   - Correctly handle ACCDATA_EL1 being exposed to guests, plugging a\n     potential communication channel between guests\n\n  Other arm64 fixes:\n\n   - Flag Apple M3, M4 and M6 CPUs as having a broken vgic and a wonky\n     PMUv3 emulation\n\n   - Correctly handle 64bit offsets into an MMIO region from userspace\n\n   - Ensure that a vcpu is loaded when injecting an event\n\n   - Correctly clear the vcpu feature set on init failure\n\n   - Clear PSTATE.TCO on exit from the guest when MTE is enabled for the\n     kernel\n\n   - Let the L0 hypervisor always deal with FEAT_MOPS A/B nonsense when\n     taking such exception, instead of potentially forwarding it\n\n   - Add a \"maintainer profile\" for KVM/arm64\n\n   - Add testing for the MOVI and MOVALL commands\n\n  PPC:\n\n   - Implement kvm_arch_flush_shadow_{all,memslot}() for PPC. They\u0027re\n     not meant to be optional!\n\n  RISC-V:\n\n   - Validate AIA MMIO address ranges before AIA is initialized\n\n   - Disallow GPA-width changes after AIA is initialized\n\n   - Fix double free of the split page cache\n\n   - Do not touch the envcfg CSRs on the SiFive P550, as it is based on\n     the 1.11 privileged architecture spec\n\n   - Set Accessed bit in dirty-log write fault fast-path\n\n   - Validate PMU counter info using available counters\n\n   - Fix G-stage page table memory leak on VM destroy\n\n  s390:\n\n   - Additional memory management related fixes\n\n   - Improve robustness of the Arm code extraction script\n\n   - Fixes for the Arm layer\n\n   - Fix ESSA instruction handling in migration mode\n\n   - Fix crypto instruction no-hook handling\n\n   - Fix selftest for uvdevice\n\n  x86:\n\n   - Do not confuse the GPA of a guest paging structure with the GPA of\n     the access, if a nested page fault occurs while the CPU is walking\n     the guests\u0027s page tables\n\n   - Do not attempt emulation if a nested page fault occurs on encrypted\n     guest paging structures\n\n   - Mitigate a class of (x86) bugs where KVM can read/write guest\n     (userspace) memory using the wrong mm, i.e. using the wrong user\n     page tables\n\n   - Don\u0027t force a full nested VMX VM-Exit when destroying a vCPU, as\n     processing the MSR load/store lists and writing back the shadow\n     vmcs12 is wildly wrong when VM is dying\n\n   - Clear only the VMCB save area on an intercepted SHUTDOWN on SVM,\n     partly to avoid unnecessary churn, but mostly to prevent KVM from\n     clobbering the PML index\n\n   - Update the tracked pCPU on task migration for both vmcb01 and\n     vmcb02 to fix an edge case where KVM can use a stale ASID across\n     pCPUs\n\n   - Clear nVMX\u0027s smm.guest_mode when freeing nested state, and if a RSM\n     to L2 ultimately fails (and queues a TRIPLE_FAULT to L1)\n\n  Generic:\n\n   - Rework the single-vCPU kick logic to fix a bug where KVM would fail\n     to wait for a target vCPU to respond if another, non-waiting kick\n     is in flight\n\n  Selftests:\n\n   - Provide empty installation rules for architectures that aren\u0027t\n     supported by KVM selftests to fix build issues in CI environments\n\n   - Fix KVM selftests\u0027 rules for generating arm64\u0027s sysreg headers so\n     that the headers are properly (re)generated on incremental builds\"\n\n* tag \u0027for-linus\u0027 of git://git.kernel.org/pub/scm/virt/kvm/kvm: (104 commits)\n  KVM: x86: Don\u0027t save the GPA of a fault on the guest\u0027s page tables\n  KVM: SEV: never emulate after #NPF on paging structures\n  KVM: PPC: implement .flush_memslot for BookE and Book3S-PR\n  KVM: PPC: remove unnecessary #ifdef\n  KVM: arm64: nv: Ignore TLBI IPAS2E1 above the IPA limit\n  KVM: arm64: nv: Fix NULL dereference in kvm_pmu_nested_transition()\n  KVM: arm64: Load the vcpu in KVM_SET_VCPU_EVENTS\n  KVM: arm64: selftests: Verify HCR_EL2.NV1 is RES0 when E2H0 is NI_NV1\n  KVM: arm64: Force HCR_EL2.NV1 to RES0 unconditionally\n  KVM: arm64: Hide generic ptrauth from protected VMs without ptrauth\n  KVM: arm64: nv: Report EL2 registers with no trap forwarding\n  KVM: arm64: nv: Forward CNTP_TVAL_EL02 and CNTV_TVAL_EL02 traps\n  KVM: arm64: nv: Forward PIR_EL2, PIRE0_EL2 and POR_EL2 traps\n  RISC-V: KVM: Fix G-stage page table memory leak on VM destroy\n  RISC-V: KVM: Validate PMU counter info using available counters\n  KVM: riscv: Set Accessed bit in dirty-log write fault fast path\n  RISC-V: KVM: Do not touch the envcfg CSRs on the SiFive P550\n  RISC-V: KVM: Fix double free of the split page cache\n  RISC-V: KVM: Disallow GPA-width changes after AIA init\n  RISC-V: KVM: Validate AIA MMIO address ranges\n  ...\n"
    },
    {
      "commit": "bae28a1b11f422d0214654800d9425e042295c71",
      "tree": "e77be1a66b9f3d65ebb0d42625ea7047cd55cb38",
      "parents": [
        "dedf8d3fe774ccfb0cbe5b4d07cecd46a62f48bd"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 19 13:23:01 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:17 2026 -0500"
      },
      "message": "ext4: add KUnit regression tests for inode migration fixes\n\nAdd KUnit regression tests in fs/ext4/migrate-test.c covering the\next4_ext_migrate() bug fixes in the tree:\n\n- test_ext_migrate_caps_long_run_at_init_max_len(): verify that a\n  contiguous run longer than EXT_INIT_MAX_LEN is split into multiple\n  initialized extents, covering commit b0a3f2c102e8 (\"ext4: cap\n  migration extent length at EXT_INIT_MAX_LEN\").\n- test_ext_migrate_survives_handle_restart(): verify that a handle\n  restart during extent insertion does not abort migration, covering\n  commit 3b6aee59883c (\"ext4: clear journal restart indication after\n  inserting extent\").\n- test_ext_migrate_reports_concurrent_allocation() and an -EIO check in\n  test_ext_migrate_error_rollback_frees_tmp_extent_blocks(): verify that\n  migration errors are returned to the caller instead of being\n  overwritten, covering commit 82e2a5743b6a (\"ext4: don\u0027t clobber the\n  migration error in ext4_ext_migrate()\").\n- test_ext_migrate_credit_or_dirty_failure_keeps_live_blocks(): verify\n  that post-swap ext4_journal_ensure_credits() or ext4_mark_inode_dirty()\n  failures leave tmp_inode empty on eviction and do not free the\n  migrated inode\u0027s extent blocks, covering commit 047061e6a6da (\"ext4:\n  don\u0027t free the tmp_inode tree after a partial migration swap\"),\n  commit ed8c07b7692c (\"ext4: drop tmp inode ownership before migration\n  cleanup\"), and commit 7c1f0eea4a9b (\"ext4: fix failed migrate freeing\n  extent tree blocks\").\n\nAdd KUNIT_STATIC_STUB_REDIRECT() hooks and EXPORT_SYMBOL_FOR_EXT4_TEST()\nexports for ext4_datasem_ensure_credits() in fs/ext4/extents.c and\n__ext4_journal_ensure_credits() in fs/ext4/ext4_jbd2.c so the KUnit\ntests can emulate transaction restarts, concurrent block allocations,\nand post-swap credit failures without a journal.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "dedf8d3fe774ccfb0cbe5b4d07cecd46a62f48bd",
      "tree": "395b3888ce87bf016c3eb67b3523d6eeb5305846",
      "parents": [
        "0af3bcba3a0b2dbd48510be71c4feeff1d42765f"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:26:13 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:17 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/dir.c\n\nAdd a KUnit test suite (ext4_dir_test) in fs/ext4/dir-test.c covering\ndirectory entry validation, hash-cookie helpers, directory llseek, and\nboth linear and HTree directory iteration in fs/ext4/dir.c:\n\n- __ext4_check_dir_entry() and ext4_check_all_de() validation across\n  valid blocks (including fake \u0027.\u0027, \u0027..\u0027, and metadata_csum tail\n  entries, as well as encrypted+casefolded extended-hash entries) and\n  corrupt rec_len, alignment, name_len, block-end slack, overrun,\n  out-of-bounds inode numbers, and full-block \u0027.\u0027 entries.\n- is_dx_dir(), get_dtype(), and 32-bit vs 64-bit HTree telldir hash\n  position conversions (hash2pos, pos2maj_hash, pos2min_hash, and\n  ext4_get_htree_eof).\n- ext4_dir_operations open(), llseek() (64-bit and 32-bit HTree EOF\n  bounds vs non-DX s_bitmap_maxbytes/SEEK_END bounds and cookie\n  invalidation), and release().\n- ext4_htree_store_dirent() rbtree ordering across major/minor hashes,\n  64-bit hash collision chaining, and ext4_htree_free_dir_info().\n- Linear ext4_readdir() across multi-block directories with sparse\n  holes, deleted entries, stop/resume, unaligned f_pos revalidation on\n  i_version change, bad checksum and corrupt entry skipping, and\n  ERR_BAD_DX_DIR fallback clearing EXT4_INODE_INDEX.\n- HTree ext4_dx_readdir() across multi-leaf next_hash continuations,\n  mid-collision extra_fname stop/resume, EOF handling, seek reset, and\n  mid-iteration i_version refill.\n\nExport ext4_dir_operations, expose thin KUnit wrappers for static\nhelpers in fs/ext4/dir.c, and add a KUNIT_STATIC_STUB_REDIRECT hook to\next4_htree_fill_tree().\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "0af3bcba3a0b2dbd48510be71c4feeff1d42765f",
      "tree": "4dc16beb69410ff46ee7fc1e295424e5401ab4d9",
      "parents": [
        "0940fb9b934c9d33957804cca20db725d943d386"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:25:57 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:17 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/mmp.c\n\nAdd a KUnit test suite (ext4_mmp_test) covering multi-mount protection\nchecksums, block I/O validation, and mount state transitions in\nfs/ext4/mmp.c:\n\n- CRC32C generation and verification in ext4_mmp_csum_set() and\n  ext4_mmp_csum_verify() with and without METADATA_CSUM\n- Block read/write error handling, magic validation (-EFSCORRUPTED),\n  CRC mismatch handling (-EFSBADCRC), and buffer cleanup in\n  read_mmp_block() and write_mmp_block()\n- ext4_multi_mount_protect() validation of out-of-range MMP blocks,\n  EXT4_MMP_SEQ_FSCK rejection (-EBUSY), EXT4_MMP_SEQ_CLEAN claim and\n  ext4_stop_mmpd() teardown, active/racing node sequence conflicts,\n  check_interval clamping, interrupted waits (-ETIMEDOUT), and kthread\n  startup failure\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "0940fb9b934c9d33957804cca20db725d943d386",
      "tree": "81c4860e6ede3334dcddd7cdbc55e11a0699f3d5",
      "parents": [
        "983cf5038127c3a2798cba867929e2bd8df3a84e"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:25:23 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:17 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/move_extent.c\n\nAdd a KUnit test suite (ext4_move_extent_test) covering online extent\nswapping and validation helpers in fs/ext4/move_extent.c:\n\n- Ordered i_data_sem lock acquisition/release in\n  ext4_double_down_write_data_sem() and ext4_double_up_write_data_sem()\n- File, feature, and mode checks in mext_check_validity() (same inode,\n  cross-sb, non-regular, bigalloc, DAX, data journaling, encrypted,\n  non-extent, SUID/SGID, immutable/append, swapfile, quota, zero size)\n- Sub-page alignment, EXT_MAX_BLOCKS bounds, and EOF clamping in\n  mext_check_adjust_range()\n- End-to-end ext4_move_extents() across origin/donor holes, unwritten\n  extent moves, written MEXT_COPY_DATA with extent splitting and page\n  cache preservation, unwritten-origin zeroing, and -EBUSY release\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "983cf5038127c3a2798cba867929e2bd8df3a84e",
      "tree": "bd94b46a10af64c4a6344909643043b814a5f819",
      "parents": [
        "863963517288e7438f10ac638b425e8d593cf4bb"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:25:07 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:17 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/fsmap.c\n\nAdd KUnit test suite ext4_fsmap_test in fs/ext4/fsmap-test.c covering\nFS_IOC_GETFSMAP reverse-mapping queries in fs/ext4/fsmap.c:\n\n- ext4_fsmap_from_internal() and ext4_fsmap_to_internal() block/byte\n  conversions across 1K, 4K, and 64K block sizes\n- ext4_getfsmap() validation of flags, device IDs, inverted keys,\n  out-of-range physical offsets, and missing group descriptors\n- fixed per-group metadata synthesis (superblock, GDT, reserved GDT,\n  block bitmap, inode bitmap, inode table), free extents, and\n  EXT4_FMR_OWN_UNKNOWN gaps in the middle and at EOFS\n- flex_bg adjacent fixed-metadata merging and cross-group free-extent\n  coalescing via gfi_lastfree\n- 1K s_first_data_block offset handling, bigalloc cluster scaling, and\n  META_BG reserved-GDT suppression\n- count-only queries, bounded continuation-key pagination, formatter\n  abort propagation, and external journal device reporting\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "863963517288e7438f10ac638b425e8d593cf4bb",
      "tree": "5540f8f25d27ca3c3888eed5e3ae62664924364f",
      "parents": [
        "7ac9b4174f1ec6d0f675fac3244b09aedc0f45a0"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:24:47 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: expand KUnit tests in fs/ext4/extents-test.c for file range operations\n\nExpand ext4_extents_test to cover high-level file-range operations and\nreporting entry points in fs/ext4/extents.c:\n\n- ext4_fallocate() mode validation (unsupported flags, encrypted\n  collapse/insert rejection, FALLOC_FL_WRITE_ZEROES device limit check,\n  non-extent inode rejection), preallocation with and without\n  FALLOC_FL_KEEP_SIZE, and hole punching via FALLOC_FL_PUNCH_HOLE\n- ext4_zero_range() via FALLOC_FL_ZERO_RANGE (written-to-unwritten split\n  and EOF extension) and FALLOC_FL_WRITE_ZEROES (block zeroouts,\n  unwritten-to-written conversion, and orphan tracking across EOF)\n- ext4_collapse_range() alignment/EOF validation, block freeing,\n  left-shift of trailing extents, and adjacent extent coalescing\n- ext4_insert_range() alignment/EOF/maxbytes validation, mid-extent\n  splitting, right-shift of trailing extents, and i_size growth\n- ext4_convert_unwritten_extents(),\n  ext4_convert_unwritten_extents_atomic(), and\n  ext4_convert_unwritten_io_end_vec() IO completion conversions\n- ext4_fiemap() and ext4_get_es_cache() range checks, FIEMAP_FLAG_CACHE\n  precaching, external xattr reporting, and status extent reporting\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "7ac9b4174f1ec6d0f675fac3244b09aedc0f45a0",
      "tree": "42d2d1d5de2e5b40bec40ccf23f14d6ea41176f0",
      "parents": [
        "00ab256f98e3a6f313b9ecc6da510f90604fd9e1"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:24:29 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/indirect.c\n\nAdd the ext4_indirect_test KUnit suite in fs/ext4/indirect-test.c to\ntest legacy direct, single-, double-, and triple-indirect block mapping,\ntruncation, and hole punching in fs/ext4/indirect.c:\n\n- ext4_block_to_path() offset decomposition, boundary distance, and\n  out-of-range block rejection, plus ext4_ind_trans_blocks() credits\n- ext4_ind_map_blocks() read-only lookup across contiguous runs,\n  EXT4_MAP_BOUNDARY detection, and multi-level hole span calculation\n- ext4_ind_map_blocks() allocation and branch splicing across direct,\n  IND, DIND, and TIND depths\n- error handling (out-of-range logical/physical blocks, bigalloc\n  rejection, indirect read I/O failure, corrupt indirect blockref) and\n  partial branch allocation unwind freeing intermediate metadata blocks\n- ext4_ind_truncate() partial shared-branch truncation, indirect root\n  detachment, and full truncation to zero\n- ext4_ind_remove_space() hole punching within direct blocks, across\n  mixed levels, and converging on shared IND and DIND blocks\n- corrupt block pointer rejection in ext4_clear_blocks() and\n  ext4_free_branches()\n\nRoute indirect block buffer lookups through ext4_sb_getblk(), add a\nKUnit static stub redirect to ext4_sb_bread_nofail(), and export the\nindirect mapping and truncation entry points for KUnit testing.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "00ab256f98e3a6f313b9ecc6da510f90604fd9e1",
      "tree": "f500ee6a5cec30aa7d6c35d20ae9781f8abec0ab",
      "parents": [
        "c70aa271b595f9381f3a1bc8198b4bd24a64a83b"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:24:16 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/migrate.c\n\nAdd the ext4_migrate_test KUnit suite in fs/ext4/migrate-test.c to test\nonline inode format migration between indirect block maps and extent\ntrees in fs/ext4/migrate.c:\n\n- ext4_ext_migrate() precondition guards, fast symlink no-op handling,\n  and temporary inode allocation error propagation\n- direct and single-indirect physically contiguous block coalescing,\n  sparse logical hole preservation, and indirect metadata freeing\n- double-indirect and triple-indirect tree traversal and multi-level\n  extent tree construction with proper i_csum_seed propagation\n- error rollback freeing allocated temporary extent tree blocks while\n  preserving the original indirect inode layout\n- ext4_ext_swap_inode_data() concurrent block allocation detection via\n  EXT4_STATE_EXT_MIGRATE (-EAGAIN)\n- ext4_ind_migrate() conversion of empty and single-extent inodes back\n  to direct block maps and rejection of unsupported layouts\n\nExport ext4_ext_migrate(), ext4_ind_migrate(), and a KUnit wrapper for\next4_ext_swap_inode_data() via EXPORT_SYMBOL_FOR_EXT4_TEST.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "c70aa271b595f9381f3a1bc8198b4bd24a64a83b",
      "tree": "d038ee05f3a1721922ffe86f2676dad1b428021d",
      "parents": [
        "6fa4f16326dba7c5e6f1b0399f777da3321ad365"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:23:48 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/resize.c\n\nAdd a KUnit test suite (ext4_resize_test) covering online filesystem\nresizing, group validation, flex_bg table packing, backup descriptor\nreservation, and meta_bg conversion in fs/ext4/resize.c:\n\n- Precondition checks in ext4_resize_begin() and EXT4_FLAGS_RESIZING\n  mutual exclusion with ext4_resize_end().\n- Backup group iteration in ext4_list_backups() (sparse_super powers of\n  3/5/7, dense non-sparse sequence, and sparse_super2 s_backup_bgs) and\n  reserved GDT validation in verify_reserved_gdb().\n- Group geometry and overlap validation in verify_group_input() across\n  partial prior groups, reserved-block ratios, out-of-bounds bitmaps and\n  inode tables, bitmap collisions, and superblock/GDT overhead overlaps.\n- Flex group batch sizing in alloc_flex_gd(), descriptor flag and\n  partial-group initialization in ext4_setup_next_flex_gd(), and packed\n  metadata table placement and -ENOSPC handling in\n  ext4_alloc_group_tables().\n- Online partial-last-group extension in ext4_group_extend() updating\n  superblock counts, block bitmaps, buddy caches, and backup\n  superblocks.\n- Group addition in ext4_group_add() including backup reserved GDT\n  updates via reserve_backup_gdb(), resize_inode validation and meta_bg\n  conversion in ext4_convert_meta_bg(), and end-to-end ext4_resize_fs()\n  growth across reserved GDT consumption into meta_bg.\n\nRoute raw sb_getblk() calls in resize.c through ext4_sb_getblk() and\nwrap sb_issue_zeroout() in ext4_resize_issue_zeroout() with\nKUNIT_STATIC_STUB_REDIRECT so resize metadata I/O can be exercised\ndeterministically in memory.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "6fa4f16326dba7c5e6f1b0399f777da3321ad365",
      "tree": "eaa6ba8dc3dabcd8f03947db993551ec2658547f",
      "parents": [
        "f316c4350ef62ad23b5c0e657921ae008979492f"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:23:24 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/ioctl.c\n\nAdd a KUnit test suite (ext4_ioctl_test) covering superblock online\ntuning, backup superblock propagation, inode data swapping, fileattr\nvalidation, forced shutdown, and ioctl dispatch in fs/ext4/ioctl.c:\n\n- Superblock modification callbacks (ext4_sb_setlabel, ext4_sb_setuuid,\n  and ext4_sb_setparams across error behavior, mount counts, 64-bit\n  reserved blocks, 32-bit split reserved uid/gid, hash/RAID/encoding\n  fields, mount_opts, DIR_INDEX / CSUM_SEED feature edits, and\n  FORCE_FSCK).\n- Parameter validation and normalization in ext4_validate_tune_sb_params\n  (-E2BIG mount_opts, -EOPNOTSUPP flags/feature clears, reserved_blocks\n  and hash algorithm bounds, DIR_INDEX hash seed initialization, and\n  CASEFOLD encoding defaults).\n- Primary and sparse_super backup superblock updates via\n  ext4_update_backup_sb, ext4_update_superblocks_fn (including\n  EXT4_FLAGS_RESIZING contention and unjournaled \u003e2 backup updates), and\n  ext4_update_overhead skip/force semantics.\n- Inode swap rollback invariants in swap_inode_data (swapped vs\n  preserved flags, extent status cache clearing, double-swap round-trip)\n  and metadata_csum seed recalculation in ext4_reset_inode_seed.\n- Immutable enforcement, DAX mutual-exclusion rules (including inline\n  directories and verity-in-progress), and end-to-end ext4_fileattr_get\n  / ext4_fileattr_set flag masking and VFS flag synchronization.\n- Forced shutdown state transitions (ext4_force_shutdown) and\n  ext4_ioctl / ext4_compat_ioctl dispatch checks.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "f316c4350ef62ad23b5c0e657921ae008979492f",
      "tree": "f0f260184278cc3624cec5c6a0774e890888f2ac",
      "parents": [
        "7ea85135209d7815db99d931e27e5bc99f4d5dd0"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:36:15 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/sysfs.c\n\nAdd a KUnit test suite (ext4_sysfs_test) covering ext4 sysfs attribute\nshow/store handlers, feature capability attributes, and sysfs/procfs\nregistration in fs/ext4/sysfs.c:\n\n- Generic pointer attributes across sbi, superblock, and explicit\n  targets (attr_pointer_ui, attr_pointer_ul, attr_pointer_pi negative\n  value rejection, attr_pointer_u8, attr_pointer_u64 LE64 decoding,\n  attr_pointer_string 32-byte bounding, and attr_pointer_atomic).\n- Range-checked read-write attributes: inode_readahead_blks power-of-2\n  and upper-bound enforcement, reserved_clusters bounds against total\n  clusters, mb_best_avail_max_trim_order \u003c\u003d 64, mb_group_prealloc \u003c\u003d\n  s_clusters_per_group, and err_report_sec \u003c\u003d 1 year.\n- Computed read-only attributes: delayed_allocation_blocks cluster-to-\n  block scaling, session_write_kbytes and lifetime_write_kbytes sector\n  accounting, sra_exceeded_retry_limit percpu summation, 40-bit error\n  timestamps (first_error_time / last_error_time), and journal_task.\n- Feature capability attributes under /sys/fs/ext4/features, error\n  injection via trigger_fs_error, and lifecycle coverage of\n  ext4_register_sysfs(), ext4_notify_error_sysfs(), and\n  ext4_unregister_sysfs().\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "7ea85135209d7815db99d931e27e5bc99f4d5dd0",
      "tree": "73dc19eb583a48b6d72e24627a243f91266bb3f0",
      "parents": [
        "fe3d20e702a8905ecd91716614f04771dd9cf3e4"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:20:45 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:16 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/super.c\n\nAdd a KUnit test suite (ext4_super_test) covering superblock validation,\ngeometry checks, metadata checksums, mount options, overhead/statfs\naccounting, and persistent error recording in fs/ext4/super.c:\n\n- Feature flag compatibility in ext4_feature_set_ok() and\n  ext4_check_feature_compatibility() across RW/RO mounts, bigalloc\n  constraints, Hurd creator-OS restrictions, DAX, and encryption levels.\n- Inode, block-group, cluster-size, and directory hash initialization in\n  ext4_inode_info_init(), ext4_block_group_meta_init(),\n  ext4_handle_clustersize(), and ext4_hash_info_init().\n- Filesystem geometry validation in ext4_check_geometry(), descriptor\n  location arithmetic in descriptor_loc() (linear and meta_bg),\n  superblock and group descriptor CRC16/CRC32C verification, descriptor\n  overlap checks in ext4_check_descriptors(), and flex_bg counter\n  aggregation in ext4_fill_flex_info() / ext4_alloc_flex_bg_array().\n- Maximum file size helpers ext4_max_size() / ext4_max_bitmap_size(),\n  stripe selection in ext4_get_stripe_size(), reserved cluster defaults\n  in ext4_set_resv_clusters(), overhead calculation in count_overhead()\n  and ext4_calculate_overhead(), and space reporting in ext4_statfs().\n- Mount option defaults, parsing, consistency checks, remount guards,\n  on-disk s_mount_opts parsing, and _ext4_show_options() formatting.\n- Error translation, first/last error persistence in save_error_info(),\n  and superblock state flushing in ext4_update_super().\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "fe3d20e702a8905ecd91716614f04771dd9cf3e4",
      "tree": "b777d4d16e2cabea9fd9cd1bc0ad1f48b5201f62",
      "parents": [
        "9627baed418bf1200a5ec7309958f620d6e3d318"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:20:32 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: enable full feature coverage in fs/ext4/.kunitconfig\n\nEnable CONFIG_EXT4_FS_POSIX_ACL, CONFIG_EXT4_FS_SECURITY,\nCONFIG_FS_VERITY, CONFIG_FS_ENCRYPTION, CONFIG_QUOTA, CONFIG_QFMT_V2,\nand CONFIG_UNICODE in fs/ext4/.kunitconfig so conditional ext4 source\nfiles and feature-gated code paths (POSIX ACLs, security xattrs,\nfs-verity, fscrypt, quota accounting, and UTF-8 casefolding) are\ncompiled and exercised during KUnit runs.\n\nFix mock superblock and test setup bugs in existing KUnit suites exposed\nby enabling these Kconfig options:\n\n- Provide .get_dquots callbacks in mock super_operations under\n  CONFIG_QUOTA in block_validity-test.c, extents-test.c,\n  fast_commit-test.c, inline-test.c, inode-test.c, mballoc-test.c,\n  namei-test.c, and xattr-test.c so dquot_drop() does not dereference a\n  NULL callback during ext4_clear_inode().\n- Populate sb-\u003es_cop \u003d \u0026ext4_cryptops under CONFIG_FS_ENCRYPTION in\n  balloc-test.c, extents-test.c, fast_commit-test.c, inline-test.c,\n  inode-test.c, mballoc-test.c, and xattr-test.c so\n  fscrypt_put_encryption_info() can resolve inode_info_offs safely on\n  eviction.\n- Fix test_namei_casefold_lookup_and_strict() under CONFIG_UNICODE in\n  namei-test.c to propagate EXT4_INODE_CASEFOLD to S_CASEFOLD on the VFS\n  directory inode via ext4_set_inode_flags().\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "9627baed418bf1200a5ec7309958f620d6e3d318",
      "tree": "b63b9ec6ce463c714144249fcf1ec06aab1a371f",
      "parents": [
        "05f2b6927ab5511f43cce8564ce799d87544033f"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Wed Nov 11 16:17:44 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: check multi-block overlap on left traversal in add_system_zone()\n\nWhen walking system_blks-\u003eroot to insert [start_blk, start_blk + count),\nadd_system_zone() takes the left branch whenever start_blk \u003c\nentry-\u003estart_blk instead of checking that the entire range ends at or\nbefore entry-\u003estart_blk (unlike ext4_sb_block_valid(), which checks\nstart_blk + count - 1 \u003c entry-\u003estart_blk).\n\nAs a result, a corrupt multi-block metadata range (such as a group\u0027s\ninode table or a reserved journal inode extent mapped in\next4_protect_reserved_inode() before sbi-\u003es_system_blks is published)\nthat starts strictly before an existing system zone and extends into or\nacross it traverses rb_left instead of returning -EFSCORRUPTED. This\ninserts overlapping intervals into system_blks-\u003eroot and breaks the\ndisjoint-interval invariant relied upon by ext4_sb_block_valid() (for\nexample, a lookup on blocks past entry-\u003estart_blk + entry-\u003ecount\nbranches right and misses the overlapping zone stored in rb_left). A\ncorrupt 64-bit start_blk whose start_blk + count wraps around u64 can\nsimilarly corrupt the rbtree ordering.\n\nReject zero-length or u64-wrapping ranges up front and require\nstart_blk + count \u003c\u003d entry-\u003estart_blk before taking rb_left in\nadd_system_zone(). Add KUnit regression tests in\nfs/ext4/block_validity-test.c covering group metadata and journal\nextents that partially overlap from the left, completely enclose an\nexisting system zone, or wrap 64-bit block numbers.\n\nFixes: bf9a379d0980 (\"ext4: don\u0027t allow overlapping system zones\")\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "05f2b6927ab5511f43cce8564ce799d87544033f",
      "tree": "f207a98655a100d32d4a650a04847de36a44203e",
      "parents": [
        "07ab120f16454ba028de16a2e660b75c6b5c6467"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Fri Nov 06 16:01:20 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/block_validity.c\n\nAdd the ext4_block_validity_test KUnit test suite in\nfs/ext4/block_validity-test.c (16 test cases, 40 subtests total) to\ncomprehensively exercise system-zone rbtree construction, RCU release,\nblock range validation, reserved journal inode protection, and indirect\nblock reference checking in fs/ext4/block_validity.c using an in-memory\nVFS superblock and mock block device without requiring a mounted disk:\n\n- Bounds and 64-bit overflow checks (ext4_sb_block_valid and\n  ext4_inode_block_valid) across 1KiB (s_first_data_block \u003d 1) and 4KiB\n  (s_first_data_block \u003d 0) geometries, exact end-of-filesystem single\n  and multi-block spans, 64-bit u64 addition wrap-around, \u003e32-bit block\n  counts under EXT4_FEATURE_INCOMPAT_64BIT, and high-32-bit masking when\n  64bit is cleared.\n- System-zone lifecycle management (ext4_setup_system_zone and\n  ext4_release_system_zone), covering pre-setup NULL behavior, RCU\n  publication and teardown, and idempotent double-release handling.\n- Multi-group sparse_super and flex_bg layouts (including groups with\n  zero base metadata blocks and relocated bitmaps/inode tables) as well\n  as DEBUG mount-option tree printing (debug_print_tree).\n- System-zone rbtree merging (add_system_zone and can_merge) across\n  left-neighbor merges, right-neighbor merges, 3-way bridge merges, and\n  64-bit (\u003e2^32) group descriptor metadata zones, plus parameterized\n  interval-overlap geometries (adjacent, single-block, boundary\n  straddling, interior, exact, and enclosing spans).\n- Corrupt overlapping group metadata detection (-EFSCORRUPTED) across\n  block bitmap, inode bitmap, inode table, and cross-group collisions,\n  verifying partial rbtree cleanup without publishing s_system_blks.\n- Reserved journal inode protection (ext4_protect_reserved_inode),\n  verifying non-block-aligned i_size rounding, multi-extent and sparse\n  hole mapping, journal-inode ownership vs. regular/NULL inode\n  rejection, can_merge() isolation between adjacent ino\u003d0 and journal\n  zones, disabled-feature/zero-inum/empty-inode skips, and -EINVAL,\n  ext4_iget, ext4_map_blocks, and metadata-overlap (-EFSCORRUPTED +\n  EXT4_ERROR_FS) failure paths.\n- Block reference array validation (ext4_check_blockref,\n  ext4_ind_check_inode, and ext4_check_indirect_blockref) across empty\n  and sparse arrays, metadata and out-of-bounds corruption reporting,\n  active journal inode (s_journal-\u003ej_inode) bypass, and integration with\n  ext4_map_blocks() block validity checks.\n\nExport the five runtime entry points in fs/ext4/block_validity.c with\nEXPORT_SYMBOL_FOR_EXT4_TEST for the ext4-test KUnit module.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "07ab120f16454ba028de16a2e660b75c6b5c6467",
      "tree": "7bb6d320f8fd10f1107a6ff8fcb60eca1c6c58e9",
      "parents": [
        "0dad7bef55f9b22fb71d9b9138a7a3562dee6a55"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Fri Nov 06 15:31:04 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/orphan.c\n\nAdd the ext4_orphan_test KUnit test suite in fs/ext4/orphan-test.c (22\ntest cases, 25 subtests total when CONFIG_QUOTA is enabled; 21 test\ncases, 24 subtests otherwise) to comprehensively exercise orphan inode\ntracking, orphan file management, and mount-time orphan recovery in\nfs/ext4/orphan.c using an in-memory VFS superblock, mock block device,\nand deterministic buffer pool without requiring a mounted block device:\n\n- Orphan block geometry and empty-state checks\n  (ext4_inodes_per_orphan_block across 1K, 2K, 4K, and 64K block sizes,\n  and ext4_orphan_file_empty across disabled feature, zero-block files,\n  and multi-block occupancy transitions).\n- Superblock linked-list orphan insertion (ext4_orphan_add), covering\n  no-journal and bad-inode early exits, I_NEW unlocked insertion and\n  deletion, idempotency when already tracked via i_orphan or\n  EXT4_STATE_ORPHAN_FILE, LIFO chaining across regular, directory, and\n  symlink inodes with superblock CRC32C updates, NEXT_ORPHAN boundary\n  checks at s_inodes_count vs. s_inodes_count + 1, and journal/iloc\n  error rollbacks without leaking buffer references or leaving stray\n  s_orphan entries.\n- Superblock linked-list orphan removal (ext4_orphan_del), covering\n  untracked inodes, no-journal early exit vs. EXT4_ORPHAN_FS recovery\n  mode, head/middle/tail unlinking, NULL-handle in-core-only cleanup,\n  and error propagation across superblock and predecessor/target inode\n  journal operations.\n- Orphan-file insertion and deletion (ext4_orphan_file_add and\n  ext4_orphan_file_del), covering EXT4_JTR_ORPHAN_FILE trigger wiring,\n  slot claiming and freeing, circular block-ring wrap-around and final\n  slot allocation, -ENOSPC fallback to the superblock linked list when\n  all orphan blocks are full, non-ENOSPC journal write-access and\n  dirty-metadata error propagation without fallback, NULL-handle state\n  cleanup, and out-of-range block index warning guards.\n- Orphan-file JBD2 frozen-buffer checksum trigger and lifecycle\n  management (ext4_orphan_file_block_trigger on live and frozen buffers,\n  ext4_init_orphan_info, ext4_orphan_file_block_csum_verify with and\n  without metadata_csum, the 512-block EXT4_MAX_ORPHAN_FILE_BLOCKS size\n  boundary, partial-load error cleanup on iget/bread/hole/bad-magic/\n  bad-checksum failures, and ext4_release_orphan_info).\n- End-to-end mount-time orphan recovery (ext4_orphan_cleanup and\n  ext4_process_orphan), covering empty-fs, read-only bdev, incompatible\n  ROCOMPAT features, and EXT4_ERROR_FS skip guards, unlinked file and\n  fast-symlink eviction, linked-inode truncation, combined linked-list\n  and orphan-file recovery with corrupt-slot skipping and SB_RDONLY\n  restoration, truncate failure handling via ext4_orphan_del(NULL, ...)\n  and mid-loop EXT4_ERROR_FS abort, and quota activation/teardown paths\n  under CONFIG_QUOTA and CONFIG_QFMT_V2.\n\nAdd a KUNIT_STATIC_STUB_REDIRECT hook to ext4_truncate() in\nfs/ext4/inode.c for truncate failure injection during orphan recovery,\nand export the remaining non-static fs/ext4/orphan.c entry points with\nEXPORT_SYMBOL_FOR_EXT4_TEST.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "0dad7bef55f9b22fb71d9b9138a7a3562dee6a55",
      "tree": "81dce2010d2e14fb49f4c0910764f3aeeeb69250",
      "parents": [
        "c5c8038b5d4c75d813f71ed9af9a50f02d5f4f5d"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Fri Nov 06 14:04:38 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/balloc.c\n\nAdd the ext4_balloc_test KUnit test suite in fs/ext4/balloc-test.c (29\ntest cases, 43 subtests total) to comprehensively exercise block bitmap\nmanagement, group descriptor and overhead calculations, cluster pool\nreservation, allocation retry policy, metadata block allocation, and\ngoal block selection in fs/ext4/balloc.c using an in-memory VFS\nsuperblock, mock block device, and deterministic block pool without\nrequiring a mounted block device:\n\n- Block-to-group and cluster-offset mapping (ext4_get_group_number and\n  ext4_get_group_no_and_offset) across 1K and 4K block sizes, standard\n  shift-based vs. non-standard do_div group geometries, bigalloc\n  multi-block clusters, s_first_data_block offsets, \u003e32-bit physical\n  block numbers, and optional NULL output pointers.\n- Backup superblock placement (ext4_bg_has_super) across dense\n  filesystems, sparse_super powers of 3, 5, and 7, and sparse_super2\n  explicit s_backup_bgs configurations.\n- Group descriptor table and base metadata block counts\n  (ext4_bg_num_gdb and ext4_num_base_meta_blocks) across traditional\n  GDT layouts with s_reserved_gdt_blocks and hybrid meta_bg filesystems\n  spanning pre-s_first_meta_bg and meta_bg descriptor groups.\n- Group overhead and post-init free cluster accounting\n  (ext4_free_clusters_after_init, ext4_num_overhead_clusters, and\n  num_clusters_in_group) across standard groups, partial final groups,\n  external flex_bg metadata, spanning inode tables, and bigalloc\n  shared-cluster layouts.\n- Group descriptor and group info lookup (ext4_get_group_desc and\n  ext4_get_group_info) across multi-block descriptor tables, bounds\n  checks, missing descriptor buffers, and NULL RCU slice guards.\n- Block bitmap validation, reading, prefetching, and lazy initialization\n  (ext4_read_block_bitmap_nowait, ext4_wait_block_bitmap, and\n  ext4_read_block_bitmap), covering CRC32C verification, in-group and\n  out-of-group metadata bit validation with and without flex_bg, bitmap\n  tail padding checks, EXT4_FC_REPLAY and buffer_verified\n  short-circuits, cold disk reads vs. cached buffer promotions,\n  REQ_RAHEAD locked-buffer prefetching, EXT4_BG_BLOCK_UNINIT lazy bitmap\n  initialization (CRC32C, legacy CRC16 GDT_CSUM, and unchecksummed\n  fallback), group 0 and oversized base-metadata corruption guards, and\n  simulated getblk / I/O errors.\n- Free cluster reservation and pool accounting\n  (ext4_claim_free_clusters and ext4_has_free_clusters) across\n  above-watermark fast paths, unprivileged limits, bigalloc r_blocks\n  scaling, root-reserved pool access via s_resuid, non-root s_resgid\n  supplementary group membership, EXT4_MB_USE_ROOT_BLOCKS, and\n  CAP_SYS_RESOURCE, plus EXT4_MB_USE_RESERVED internal pool access.\n- Allocation retry policy (ext4_should_retry_alloc) across non-journaled\n  mounts, pending mballoc free retries up to the 3-attempt limit with\n  s_sra_exceeded_retry_limit accounting, free-space rechecks, and\n  s_discard_work flushing under s_retry_alloc_pending.\n- Metadata block allocation (ext4_new_meta_blocks), free cluster\n  summation (ext4_count_free_clusters across corrupt bitmaps, 64-bit\n  high free-cluster counts, and unloaded descriptor blocks), and inode\n  goal block selection (ext4_inode_to_goal_block across flex_bg\n  directory vs. regular file placement, delalloc, and nodelalloc PID\n  colouring).\n\nRoute the block bitmap buffer lookup in ext4_read_block_bitmap_nowait()\nthrough ext4_sb_getblk() so KUnit tests can intercept buffer-cache\nlookups via its existing static stub hook, and export the remaining\nnon-static balloc.c entry points with EXPORT_SYMBOL_FOR_EXT4_TEST.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "c5c8038b5d4c75d813f71ed9af9a50f02d5f4f5d",
      "tree": "a797e1d768b55c84072b35997cf26b3b377c2a88",
      "parents": [
        "3ca8192f7950445d4319dab9dffc33f171bdb987"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Fri Nov 06 04:38:31 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/ialloc.c\n\nAdd the ext4_ialloc_test KUnit test suite in fs/ext4/ialloc-test.c (28\ntest cases, 33 subtests total) to comprehensively exercise inode bitmap\nmanagement, group selection heuristics, inode allocation, freeing,\norphan lookup, and lazy inode table initialization in fs/ext4/ialloc.c\nusing an in-memory VFS superblock, mock block device, and deterministic\nblock pool without requiring a mounted block device:\n\n- Bitmap padding and asynchronous read completion helpers\n  (ext4_mark_bitmap_end and ext4_end_bitmap_read) across unaligned and\n  byte-aligned start/end bit boundaries, partial single-byte updates,\n  no-op guards, BLK_STS_OK completion, and BLK_STS_IOERR / BIO_QUIET\n  failure handling.\n- Inode bitmap validation and loading (ext4_validate_inode_bitmap and\n  ext4_read_inode_bitmap), covering CRC32C verification, out-of-group\n  metadata block overlap detection, EXT4_FC_REPLAY and buffer_verified\n  short-circuits, cache hits vs. synchronous disk reads, lazy\n  EXT4_BG_INODE_UNINIT bitmap initialization, and fault injection across\n  ext4_get_group_desc, ext4_sb_getblk, and ext4_read_bh.\n- Inode freeing (ext4_free_inode) across regular files and directories,\n  bitmap bit clearing, group descriptor, flex_bg, and percpu counter\n  updates, CRC32C recomputation, guard rejections (NULL i_sb, i_count \u003e\n  1, i_nlink \u003e 0, reserved ino \u003c EXT4_FIRST_INO, and out-of-range ino),\n  double-free corruption marking, pre-corrupt bitmap skips (vs.\n  EXT4_FC_REPLAY), and journal get_write_access error handling.\n- Orlov directory group allocator (find_group_orlov) across root and\n  EXT4_INODE_TOPDIR spreading (hashed qstr and NULL qstr), subdirectory\n  co-location, i_last_alloc_group hints, max_dirs / min_inodes /\n  min_clusters thresholds, flex_bg constituent group packing, and\n  two-pass linear fallback when percpu counters are inflated or all\n  groups are exhausted.\n- Non-directory group allocator (find_group_other) with and without\n  flex_bg, covering parent group preference, last-allocated group\n  spreading, quadratic hash probing, cyclic linear search, and modulo\n  wraparound.\n- Recently-deleted inode buffer-cache checks (recently_deleted) across\n  EXT4_BG_INODE_UNINIT, bg_itable_unused bounds, uncached or\n  non-uptodate inode table blocks, zero i_dtime, and clean (60s) vs.\n  dirty (360s) buffer_dirty() recency windows, plus find_inode_bit\n  scanning across non-journaled skipping, journaled (s_journal) bypass,\n  and recently_deleted_ino fallback.\n- On-disk inode reservation during fast-commit replay\n  (ext4_mark_inode_used) across uninitialized EXT4_BG_INODE_UNINIT and\n  EXT4_BG_BLOCK_UNINIT groups, overhead cluster calculation,\n  bg_itable_unused updates, idempotency on already-set bits, and invalid\n  ino, inode/block bitmap read and wait, dirty-metadata, and\n  sync_dirty_buffer error paths.\n- Extended attribute transaction credit estimation\n  (ext4_xattr_credits_for_new_inode) across POSIX default ACL\n  inheritance, security xattrs, and encryption contexts.\n- Full new-inode allocation (__ext4_new_inode) across regular files,\n  directories, symlinks, and special files, flag inheritance and masking\n  (EXT4_FL_INHERITED and ext4_mask_flags), EXT4_EA_INODE_FL inline-data\n  suppression, UID/GID ownership overrides, SGID inheritance,\n  EXT4_INODE_PROJINHERIT project ID propagation, explicit goal and\n  s_inode_goal targeting, uninitialized group setup, corrupt/reserved\n  bit skipping, EXT4_FC_REPLAY goal allocation,\n  ext4_new_inode_start_handle, and error paths (-EPERM, emergency\n  -EIO/-EROFS, -ENOMEM, -ENOSPC, duplicate inode hash -EIO,\n  write-access and dirty-metadata failures, and ext4_init_security /\n  ext4_mark_inode_dirty rollback).\n- Orphan inode lookup and validation (ext4_orphan_get), group free-inode\n  and used-directory summation (ext4_count_free_inodes and\n  ext4_count_dirs, including 64-bit high-16-bit fields), and lazy inode\n  table zeroing (ext4_init_inode_table) across already-zeroed, uninit,\n  partially used, full, bogus bg_itable_unused, and zeroout error cases.\n\nRoute buffer-cache lookups in ialloc.c through ext4_sb_getblk() and\next4_sb_find_get_block(), extract ext4_itable_zeroout() with\nKUNIT_STATIC_STUB_REDIRECT, add KUNIT_STATIC_STUB_REDIRECT hooks in\next4_read_bh(), __ext4_journal_get_write_access(), and\next4_init_security(), and export the tested entry points and\nstatic-helper wrappers with EXPORT_SYMBOL_FOR_EXT4_TEST.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "3ca8192f7950445d4319dab9dffc33f171bdb987",
      "tree": "b25b5cf30e4f30cfb7bba3e04c8b1d6b63d05b39",
      "parents": [
        "97211e479963e7ad808bd3e1f8e08969037c8adc"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 20:33:11 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:15 2026 -0500"
      },
      "message": "ext4: expand KUnit tests for fs/ext4/inode.c\n\nExpand the ext4_inode_test KUnit test suite in fs/ext4/inode-test.c from\n1 parameterized test (16 timestamp decoding subtests) to 26 test cases\n(41 subtests total) to comprehensively exercise fs/ext4/inode.c using an\nin-memory VFS superblock, mock block device, and deterministic block pool\nwithout requiring a mounted block device:\n\n- Extra timestamp encoding and 64-bit round-trips across all 16 boundary\n  vectors, 256-byte inodes with 34-bit seconds + nanoseconds, and\n  128-byte old inodes storing signed 32-bit seconds with zeroed\n  nanoseconds.\n- Raw inode CRC32C checksum computation and verification\n  (ext4_inode_csum_set and ext4_inode_csum_verify) across legacy\n  non-csum filesystems, 128-byte inodes (16-bit lo CRC), 256-byte inodes\n  with i_extra_isize \u003d 0 vs \u003e\u003d 4 (32-bit CRC), and bit-flip corruptions.\n- Inode block count encoding and decoding (ext4_inode_blocks_set and\n  ext4_inode_blocks) across 32-bit 512B sectors, 48-bit huge_file\n  sectors, and EXT4_HUGE_FILE_FL filesystem block units.\n- VFS-to-raw inode serialization and writeback paths\n  (ext4_fill_raw_inode, ext4_reserve_inode_write, ext4_mark_iloc_dirty,\n  __ext4_mark_inode_dirty, ext4_dirty_inode, ext4_inode_attach_jinode,\n  ext4_write_inode, and ext4_sync_inode_metadata), including inline data\n  preservation, project IDs, lazytime neighbor timestamp flushes,\n  emergency read-only -EROFS handling, and buffer I/O error propagation.\n- Dynamic extra-isize expansion (__ext4_expand_extra_isize,\n  ext4_try_to_expand_extra_isize, and ext4_expand_extra_isize), including\n  corrupted/invalid size guards, EXT4_STATE_NO_EXPAND, xattr_sem\n  contention, and shifting in-body extended attributes forward.\n- On-disk inode location lookup (__ext4_get_inode_loc,\n  ext4_get_inode_loc, ext4_get_inode_loc_noio, and\n  ext4_get_fc_inode_loc), including zero-I/O uninitialized/unused inode\n  table optimization, neighbor bitmap occupancy checks, readahead window\n  calculation, and read -EIO handling.\n- Inode loading and validation (__ext4_iget) across EXT4_IGET_NORMAL,\n  EXT4_IGET_SPECIAL, EXT4_IGET_HANDLE, EXT4_IGET_EA_INODE,\n  EXT4_IGET_NOWAIT, and EXT4_IGET_BAD, special device rdev encodings,\n  fast symlinks, and corruption rejections (bad CRC, unlinked ino, bad\n  mode, reserved ino \u003c first_ino, bad extra_isize, conflicting flags,\n  oversize indirect i_size, bad i_file_acl, and bad extent header).\n- Inode eviction (ext4_evict_inode) across live inodes, unlinked regular\n  files (truncating data extents, setting i_dtime, and freeing the\n  inode), and unlinked fast symlinks.\n- Fast symlink classification, ext4_can_truncate, inode flag propagation\n  (ext4_set_inode_flags), address_space_operations selection\n  (ext4_set_aops), folio order caps (ext4_set_inode_mapping_order),\n  project ID lookup (ext4_get_projid), DIO alignment checks\n  (ext4_dio_alignment), and STATX_BTIME / STATX_DIOALIGN /\n  STATX_WRITE_ATOMIC / STATX_ATTR_* reporting in ext4_getattr and\n  ext4_file_getattr.\n- Delayed allocation space accounting (ext4_da_reserve_space,\n  ext4_da_update_reserve_space, ext4_da_release_space, and\n  ext4_nonda_switch) and bigalloc shared-cluster pending reservations\n  (ext4_clu_alloc_state, ext4_insert_delayed_blocks, and\n  ext4_da_map_blocks).\n- Logical-to-physical block mapping (ext4_map_blocks, ext4_get_block,\n  ext4_get_block_unwritten, ext4_da_get_block_prep, ext4_getblk,\n  ext4_bread, ext4_bread_batch, and ext4_walk_page_buffers) across ES\n  hits, extent allocation, unwritten extents, zeroout, and batch reads.\n- iomap mapping callbacks (ext4_iomap_begin, ext4_iomap_ops, and\n  ext4_iomap_report_ops, including bigalloc multi-block IOMAP_ATOMIC\n  writes), buffered write_begin/write_end (ext4_da_aops and ext4_aops),\n  bmap, invalidate_folio, release_folio, and ext4_page_mkwrite.\n- Transaction credit helpers (ext4_meta_trans_blocks,\n  ext4_chunk_trans_extent, and ext4_chunk_trans_blocks),\n  ext4_break_layouts, ext4_update_disksize_before_punch, partial-block\n  and EOF zeroing (ext4_zero_partial_blocks, ext4_block_zero_eof, and\n  ext4_truncate_page_cache_block_range), ext4_punch_hole, ext4_truncate,\n  and ext4_setattr.\n\nAdd thin KUNIT_STATIC_STUB_REDIRECT wrappers for buffer-cache lookup and\ninode freeing (ext4_sb_getblk, ext4_sb_find_get_block,\next4_sb_getblk_unmovable, ext4_read_bh_nowait, ext4_read_bh_lock,\next4_sb_breadahead_unmovable, and ext4_free_inode) and export the tested\nentry points and static-helper wrappers with EXPORT_SYMBOL_FOR_EXT4_TEST.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "97211e479963e7ad808bd3e1f8e08969037c8adc",
      "tree": "1b8ee05d5a0602773273690691274c20824baf6e",
      "parents": [
        "0a72862ce7c5a7dfe565cf348ccc76bed8005d54"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:20:12 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/fast_commit.c\n\nAdd the ext4_fast_commit_test KUnit test suite in\nfs/ext4/fast_commit-test.c to comprehensively exercise fast commit\ntracking, snapshotting, TLV serialization, commit execution, and journal\nreplay in fs/ext4/fast_commit.c without requiring a mounted block\ndevice:\n\n- Fast commit initialization and eligibility helpers (ext4_fc_init,\n  ext4_fc_init_inode, ext4_fc_disabled, ext4_fc_eligible,\n  ext4_fc_set_snap_err, and ext4_fc_snap_stats_update_max).\n- Ineligibility tracking (ext4_fc_mark_ineligible) with active handles,\n  NULL handles with or without a running transaction, monotonic\n  s_fc_ineligible_tid updates, and per-reason statistics counters.\n- Inode and logical range tracking (ext4_fc_track_inode and\n  ext4_fc_track_range), covering directory skips, data-journalling and\n  inline-data ineligibility, special inodes (\u003c EXT4_FIRST_INO), same-TID\n  bounding-interval range merging, cross-TID resets,\n  EXT4_STATE_FC_COMMITTING to EXT4_STATE_FC_REQUEUE transitions, and\n  FC_Q_MAIN vs. FC_Q_STAGING queue routing.\n- Dentry update tracking (ext4_fc_track_create, ext4_fc_track_link, and\n  ext4_fc_track_unlink) and inode deletion cleanup (ext4_fc_del),\n  including root dentry parent handling, EXT4_FC_TAG_CREAT removal, and\n  concurrent wait-bit wakeups across EXT4_STATE_FC_FLUSHING_DATA and\n  EXT4_STATE_FC_COMMITTING.\n- Fast commit buffer space reservation and TLV serialization\n  (ext4_fc_reserve_space, ext4_fc_add_tlv, and ext4_fc_write_tail),\n  including oversize rejection, block boundary EXT4_FC_TAG_PAD insertion\n  and buffer submission, and EXT4_FC_TAG_TAIL padding and CRC32C\n  calculation.\n- Inode and extent-status range snapshotting (ext4_fc_snapshot_inode,\n  ext4_fc_count_snapshot_inodes, ext4_fc_alloc_snapshot_inodes,\n  ext4_fc_snapshot_inodes, ext4_fc_write_inode, and\n  ext4_fc_write_inode_data), including ext4_get_inode_loc_noio fallback,\n  ES miss/delayed/unsupported status errors, inode and range capacity\n  caps (-E2BIG), extent splitting past EXT_INIT_MAX_LEN (32768), and\n  create-only dentry inode snapshotting.\n- Fast and full commit cleanup (ext4_fc_cleanup), EWMA commit time stats\n  (ext4_fc_update_stats), and procfs stats output (ext4_fc_info_show).\n- Top-level commit execution and fallbacks (ext4_fc_commit) across\n  already-committed TIDs, disabled fast commits, jbd2_fc_begin_commit\n  failures, ineligible filesystems, data flush -EIO errors, snapshot\n  -EAGAIN fallbacks, jbd2_fc_wait_bufs -EIO errors, and consecutive fast\n  commits with external journal device cache flushes.\n- Recovery region exclusion and scan validation (ext4_fc_record_regions,\n  ext4_fc_replay_check_excluded, ext4_fc_record_modified_inode,\n  ext4_fc_value_len_isvalid, tag2str, and PASS_SCAN validation of\n  missing HEAD, unexpected offset, unsupported features, wrong TID,\n  bad tail CRC, and partial multi-commit logs).\n- Recovery replay of EXT4_FC_TAG_INODE (extent and inline-data inodes),\n  EXT4_FC_TAG_CREAT (regular files and subdirectories), EXT4_FC_TAG_LINK\n  (-EEXIST idempotency), and EXT4_FC_TAG_UNLINK (missing entries and\n  rename-overwrite inode mismatches).\n- Recovery replay of EXT4_FC_TAG_ADD_RANGE and EXT4_FC_TAG_DEL_RANGE,\n  error handling, and an end-to-end ext4_fc_commit() -\u003e PASS_SCAN -\u003e\n  PASS_REPLAY round-trip.\n\nExport the tested fast commit entry points with\nEXPORT_SYMBOL_FOR_EXT4_TEST and add KUNIT_STATIC_STUB_REDIRECT hooks for\next4_fc_get_buf, ext4_fc_submit_bh, ext4_fc_issue_flush,\next4_get_inode_loc_noio, ext4_get_fc_inode_loc, ext4_mark_inode_used,\next4_mb_mark_bb, and ext4_es_lookup_extent.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "0a72862ce7c5a7dfe565cf348ccc76bed8005d54",
      "tree": "ccb562ef39f5098fbe301f8ca1533b89b664faec",
      "parents": [
        "ef1e48eba57ac242b259a5d232c74ae26d55cd25"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:19:54 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/inline.c\n\nAdd the ext4_inline_test KUnit test suite in fs/ext4/inline-test.c to\ncomprehensively exercise inline data operations for regular files,\nsymlinks, and directories in fs/ext4/inline.c without requiring a\nmounted block device:\n\n- Inline capacity and discovery (ext4_get_max_inline_size and\n  ext4_find_inline_data_nolock) across fresh inodes, inodes with zero\n  extra_isize or 128-byte inode size, inodes with coexisting user\n  xattrs in ibody, 0-byte and non-empty system.data xattrs, and\n  corrupted xattr entries (e_name_len overflow and non-zero\n  e_value_inum).\n- Inline file creation, expansion, overwrite, and destruction\n  (ext4_try_to_write_inline_data, ext4_write_inline_data_end, and\n  ext4_destroy_inline_data) spanning i_block (\u003c 60 bytes) and the\n  ibody system.data xattr (\u003e\u003d 60 bytes), short writes with failed-write\n  truncation, non-uptodate folios, emergency shutdown\n  (EXT4_FLAGS_SHUTDOWN), concurrent inline flag clearing, and corrupted\n  inline xattr state detection.\n- Inline page reading, symlinks, and iomap mapping\n  (ext4_readpage_inline on index 0 and index \u003e 0, i_inline_size \u003e\n  PAGE_SIZE corruption detection, ext4_read_inline_link for short and\n  long symlinks, and ext4_inline_data_iomap).\n- Inline file truncation (ext4_inline_data_truncate) across size\n  extensions, shrinking within system.data xattr, shrinking into\n  i_block with tail zeroing, truncating to zero, and clearing the\n  extent status tree when EXT4_STATE_MAY_INLINE_DATA is unset.\n- Inline-to-extent conversion for regular files\n  (ext4_convert_inline_data, ext4_convert_inline_data_to_extent, and\n  ext4_da_convert_inline_data_to_extent via\n  ext4_generic_write_inline_data), including DIOREAD_NOLOCK, DELALLOC,\n  and journaled data modes, plus error rollback via\n  ext4_restore_inline_data when block allocation, buffer lookup, or\n  metadata dirtying fails.\n- Inline directory operations (ext4_update_final_de,\n  ext4_try_create_inline_dir, ext4_get_first_inline_block,\n  ext4_try_add_inline_entry across i_block and system.data xattr,\n  duplicate -EEXIST handling, ext4_find_inline_entry,\n  ext4_read_inline_dir with cookie/iversion revalidation,\n  ext4_inlinedir_to_tree, ext4_delete_inline_entry, empty_inline_dir,\n  conversion of full inline directories to extent-mapped directory\n  blocks with rollback on allocation failure, and corrupted dirent\n  detection).\n\nExport the tested functions with EXPORT_SYMBOL_FOR_EXT4_TEST and add\nKUNIT_STATIC_STUB_REDIRECT hooks for ext4_inline_getblk,\next4_da_get_block_prep, and ext4_inode_journal_mode.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "ef1e48eba57ac242b259a5d232c74ae26d55cd25",
      "tree": "be8b5cb48bdfe295782d9765bdc89c8fcc398596",
      "parents": [
        "b82144c319f92784f3ac2ee8c989cf8e265c64c8"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:19:31 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: expand KUnit tests for fs/ext4/mballoc.c\n\nExpand the ext4_mballoc_test KUnit test suite in fs/ext4/mballoc-test.c\nfrom 7 subtests (21 test cases) to 32 subtests (96 parameterized test\ncases across 1K, 4K, and 64K block sizes) to comprehensively exercise\nthe multi-block allocator in fs/ext4/mballoc.c:\n\n- Low-level bitmap helpers (mb_set_bit, mb_clear_bit, mb_test_bit,\n  mb_find_next_zero_bit, mb_find_next_bit, mb_clear_bits, mb_set_bits,\n  and mb_test_and_clear_bits across clean, partially clear, and fully\n  clear ranges).\n- Buddy bitmap lookup and extent discovery (mb_find_buddy,\n  mb_find_order_for_block, mb_find_extent for free, used, and merged\n  power-of-two ranges, and mb_regenerate_buddy).\n- Corrupted block bitmap detection in ext4_mb_generate_buddy (setting\n  EXT4_GROUP_INFO_BBITMAP_CORRUPT when bitmap free count mismatches\n  grp-\u003ebb_free) and double-free / EXT4_STATE_FC_REPLAY handling in\n  mb_free_blocks.\n- Group fragment size order calculation (mb_avg_fragment_size_order),\n  per-order XArray insertion/migration/removal\n  (mb_update_avg_fragment_size and mb_set_largest_free_order), and\n  largest free order tracking.\n- Group eligibility filtering (ext4_mb_good_group_nolock and\n  ext4_mb_good_group) across CR_POWER2_ALIGNED, CR_GOAL_LEN_FAST,\n  CR_BEST_AVAIL_LEN, CR_GOAL_LEN_SLOW, and CR_ANY_FREE, including\n  BBITMAP_CORRUPT, 0 free blocks, uninitialized bitmaps, and flex_bg\n  metadata allocation rules.\n- Goal-based allocation (ext4_mb_find_by_goal) covering power-of-two\n  buddies, non-power-of-two extents, EXT4_MB_HINT_MERGE tail merging,\n  stripe-aligned requests, and occupied goals.\n- Buddy and bitmap group scanning (ext4_mb_simple_scan_group,\n  ext4_mb_scan_aligned, ext4_mb_complex_scan_group,\n  ext4_mb_measure_extent, and ext4_mb_try_best_found) including\n  s_mb_max_to_scan limits and EXT4_MB_HINT_FIRST.\n- Regular allocator orchestration (ext4_mb_regular_allocator) for\n  EXT4_MB_HINT_GOAL_ONLY, stream allocation (EXT4_MB_STREAM_ALLOC) with\n  s_mb_last_groups updates, and MB_OPTIMIZE_SCAN with CR_BEST_AVAIL_LEN\n  goal length trimming.\n- Block bitmap prefetching (ext4_mb_prefetch and ext4_mb_prefetch_fini)\n  and allocation context initialization and request normalization\n  (ext4_mb_initialize_context and ext4_mb_normalize_request across\n  metadata/no-normalize, small/large/huge files, stripe alignment, and\n  existing preallocation overlap avoidance).\n- Inode and locality group preallocation lifecycles (ext4_mb_pa_alloc,\n  ext4_mb_pa_put_free, ext4_mb_new_preallocation,\n  ext4_mb_use_preallocated, ext4_mb_generate_from_pa,\n  ext4_mb_discard_group_preallocations, ext4_discard_preallocations,\n  ext4_mb_discard_preallocations, and locality group list trimming past\n  PREALLOC_TB_SIZE).\n- Top-level allocation and deallocation entry points\n  (ext4_mb_new_blocks including PA satisfaction and ENOSPC retry after\n  discarding group PAs, ext4_mb_mark_context, ext4_mb_mark_bb,\n  ext4_free_blocks with EXT4_FREE_BLOCKS_NO_QUOT_UPDATE /\n  VALIDATED / METADATA and cross-group extents, mb_free_metadata\n  merging and splitting with ext4_process_freed_data,\n  ext4_group_add_blocks, ext4_trim_fs with a static stub for\n  ext4_issue_discard, and ext4_mballoc_query_range).\n\nExport the tested functions with EXPORT_SYMBOL_FOR_EXT4_TEST and add a\nKUNIT_STATIC_STUB_REDIRECT hook to ext4_issue_discard.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "b82144c319f92784f3ac2ee8c989cf8e265c64c8",
      "tree": "91e9524509e536b5633b009d0855444436088c38",
      "parents": [
        "5df08dcafa99c2655a54dc4742d538e3d03b9203"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:19:14 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/namei.c\n\nAdd the ext4_namei_test KUnit test suite in fs/ext4/namei-test.c and\nshared internal HTree definitions in fs/ext4/namei.h to exercise\ndirectory lookup, HTree indexing, and namespace operations in\nfs/ext4/namei.c without requiring a mounted block device:\n\n- Directory leaf tail initialization (ext4_initialize_dirent_tail),\n  metadata CRC32C checksum calculation and verification\n  (ext4_dirblock_csum_verify, ext4_handle_dirty_dirblock), and\n  corrupted tail/checksum detection.\n- HTree root and interior node limit calculations (dx_root_limit,\n  dx_node_limit), entry accessors (dx_get_block, dx_set_block,\n  dx_get_hash, dx_set_hash, dx_get_count, dx_get_limit, dx_set_count,\n  dx_set_limit), and index block checksum verification\n  (ext4_dx_csum_set, ext4_dx_csum_verify).\n- Directory block reading (__ext4_read_dirblock) across 10\n  parameterized cases covering valid leaf and index blocks, unmapped\n  holes (EITHER vs. block 0 vs. DIRENT_HTREE), reads past i_size,\n  ext4_bread -EIO propagation, leaf block found when expecting INDEX,\n  and corrupted leaf/index checksums (-EFSBADCRC).\n- New directory initialization (ext4_init_new_dir, ext4_init_dirblock\n  with and without inline directory conversion data) and directory\n  block appending (ext4_append), including s_max_dir_size_kb limit\n  enforcement (-ENOSPC) and pre-allocated logical block detection\n  (-EFSCORRUPTED).\n- Directory entry destination search (ext4_find_dest_de), insertion\n  (ext4_insert_dentry), linear search (ext4_search_dir), and deletion\n  (ext4_delete_entry, ext4_generic_delete_entry) for both first-entry\n  inode zeroing and predecessor rec_len merging.\n- Directory emptiness checks (ext4_empty_dir) across fresh, populated,\n  deleted, multi-block with unmapped holes, and corrupted \u0027.\u0027/\u0027..\u0027\n  directories.\n- HTree leaf splitting and index helpers (dx_make_map, dx_sort_map\n  exercising both combsort and bubble-sort phases, dx_move_dirents,\n  dx_pack_dirents, and dx_insert_block).\n- HTree root validation (ext4_check_dx_root), multi-level index probing\n  (dx_probe), and continuation block traversal (ext4_htree_next_block)\n  across 14 parameterized valid and corrupted on-disk layouts (invalid\n  \u0027.\u0027/\u0027..\u0027 entries, bad hash_version, SipHash without hash-in-dirent,\n  non-zero unused_flags, excessive indirect_levels, limit mismatch,\n  zero entry count, and tree cycle detection).\n- End-to-end HTree conversion (make_indexed_dir), leaf splitting\n  (do_split / ext4_dx_add_entry), indexed lookup (ext4_dx_find_entry),\n  and readdir red-black tree population (ext4_htree_fill_tree).\n- HTree index level growth (splitting a full dx_root into a 2-level\n  tree and splitting a full interior dx_node), max HTree level -ENOSPC\n  enforcement, and corrupted dx_root fallback in __ext4_find_entry and\n  __ext4_add_entry.\n- Inline directory lifecycle through namei.c entry points\n  (ext4_init_new_dir, ext4_empty_dir, ext4_add_entry, ext4_find_entry,\n  ext4_delete_entry, and ext4_htree_fill_tree).\n- Directory link count helpers (ext4_inc_count, ext4_dec_count\n  including EXT4_LINK_MAX wrap to 1), VFS lookup (ext4_lookup) and\n  parent resolution (ext4_get_parent) error paths (-ENAMETOOLONG,\n  self-linked directory entry, invalid inode number, and -ESTALE to\n  -EFSCORRUPTED translation).\n- Hard link creation (__ext4_link, ext4_link including 0-nlink tmpfile\n  orphan removal, EXT4_INODE_PROJINHERIT -EXDEV, and EXT4_LINK_MAX\n  -EMLINK), unlinking (__ext4_unlink, ext4_unlink including orphan\n  addition and EXT4_FC_REPLAY inode mismatch handling), and directory\n  removal (ext4_rmdir).\n- Same-directory rename, overwrite rename, cross-directory subdirectory\n  rename, RENAME_EXCHANGE (ext4_cross_rename), project quota\n  inheritance -EXDEV checks, 0-nlink target -EFSCORRUPTED check, slow\n  symlink block initialization (ext4_init_symlink_block), and\n  case-folded (EXT4_INODE_CASEFOLD) directory lookup and strict UTF-8\n  validation.\n\nExport the tested functions with EXPORT_SYMBOL_FOR_EXT4_TEST and add\nKUNIT_STATIC_STUB_REDIRECT hooks for ext4_orphan_add and\next4_orphan_del.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "5df08dcafa99c2655a54dc4742d538e3d03b9203",
      "tree": "323fe47bcd03f336e0549b928e3a10059037d6bb",
      "parents": [
        "975e805e9af9e7522cb2d118fdda41257181c614"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:18:41 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/xattr.c\n\nAdd the ext4_xattr_test KUnit test suite in fs/ext4/xattr-test.c to\nexercise the core extended attribute operations in fs/ext4/xattr.c\nwithout requiring a mounted block device:\n\n- Entry/value sizing macros (EXT4_XATTR_LEN, EXT4_XATTR_SIZE,\n  EXT4_XATTR_MIN_LARGE_EA_SIZE), EXT4_INODE_HAS_XATTR_SPACE boundary\n  checks, and xattr_sem locking helpers (ext4_write_lock_xattr,\n  ext4_write_trylock_xattr, ext4_write_unlock_xattr) preserving\n  EXT4_STATE_NO_EXPAND.\n- In-inode xattr validation (xattr_check_inode / __xattr_check_inode)\n  across 11 parameterized valid and corrupted on-disk layouts (bad\n  magic, truncated headers, out-of-bounds names, unterminated entry\n  lists, non-zero offset on EA inode entries, and overlapping or\n  out-of-bounds value ranges).\n- In-inode (ibody) get/set operations (ext4_xattr_get,\n  ext4_xattr_ibody_get, ext4_xattr_set_handle, ext4_xattr_set),\n  XATTR_CREATE and XATTR_REPLACE flag enforcement, EXT4_STATE_NEW raw\n  inode initialization, superblock EXT4_FEATURE_COMPAT_EXT_ATTR update,\n  and the identical-value fastpath (ext4_xattr_value_same).\n- In-inode value replacement (same padded size vs. shifted offsets),\n  zero-length values, entry removal, and EXT4_I(inode)-\u003ei_inline_off\n  adjustment when system.data is present.\n- External xattr block allocation, entry sorting by (e_name_index,\n  e_name_len, e_name), migration from ibody to external block,\n  EXT4_XATTR_BLOCK_RESERVE enforcement when ea_inode is enabled, and\n  external block header and metadata CRC32C checksum verification.\n- External xattr block mb_cache deduplication across inodes,\n  copy-on-write cloning when modifying a shared block, and\n  EXT4_XATTR_REFCOUNT_MAX reuse bit transitions.\n- Attribute listing (ext4_listxattr) across ibody and external block\n  entries, and user/hurd/trusted xattr handler prefix and mount-option\n  filtering.\n- Large xattr inode (EXT4_FEATURE_INCOMPAT_EA_INODE) multi-block\n  write/read, 64-bit refcount and hash encoding, mb_cache deduplication,\n  reference decrement to zero, and ext4_evict_ea_inode() cache cleanup.\n- EA inode hash verification (including legacy signed-char name hash\n  fallback), ext4_xattr_inode_iget() corruption checks, and Lustre-style\n  EA inode compatibility.\n- Inode quota usage calculation (ext4_get_inode_usage), journal credit\n  estimation (__ext4_xattr_set_credits, ext4_xattr_set_credits), extra\n  isize expansion (ext4_expand_extra_isize_ea) for in-place shifts and\n  external block eviction, inode xattr deletion\n  (ext4_xattr_delete_inode), and error-injection rollback paths.\n\nExport the tested xattr entry points with EXPORT_SYMBOL_FOR_EXT4_TEST\nand add KUNIT_STATIC_STUB_REDIRECT hooks for ext4_xattr_getblk,\next4_sb_bread, ext4_map_blocks, ext4_getblk, ext4_get_inode_loc,\next4_mark_iloc_dirty, __ext4_iget, and __ext4_new_inode.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "975e805e9af9e7522cb2d118fdda41257181c614",
      "tree": "5368116c40262af084a187137c4dffbf9cbaf74a",
      "parents": [
        "5cb6d612274ecb907a8482c8b670a353b05630df"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:18:08 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUnit tests for fs/ext4/extents.c\n\nExpand the ext4_extents_test KUnit test suite in fs/ext4/extents-test.c\nto cover the core extent tree operations in fs/ext4/extents.c:\n\n- 48-bit physical block encoding/decoding (ext4_ext_pblock,\n  ext4_ext_store_pblock, ext4_idx_pblock, ext4_idx_store_pblock) and\n  unwritten extent length encoding (ext4_ext_mark_unwritten,\n  ext4_ext_is_unwritten, ext4_ext_get_actual_len,\n  ext4_ext_mark_initialized).\n- Extent tree initialization (ext4_ext_tree_init) and header/entry\n  validation (ext4_ext_check_inode, __ext4_ext_check) across 13\n  parameterized corruption cases (magic, depth, max, entries, empty\n  non-root index, zero-length extent, logical block wrap-around,\n  out-of-bounds physical blocks, overlapping/unsorted extents and\n  indexes, and parent/leaf logical block mismatch).\n- Metadata checksum calculation and verification on external extent\n  blocks when EXT4_FEATURE_RO_COMPAT_METADATA_CSUM is enabled.\n- Root and multi-level (depth \u003e\u003d 1) extent tree lookup and navigation\n  (ext4_find_extent, ext4_ext_search_left, ext4_ext_search_right,\n  ext4_ext_next_allocated_block, ext4_ext_next_leaf_block) and extent\n  status precaching (ext4_ext_precache) using in-memory simulated\n  metadata buffer_heads via an ext4_ext_getblk() KUnit static stub.\n- Extent merge rules (ext4_can_extents_be_merged) and insertion\n  (ext4_ext_insert_extent), including forward/backward/three-way\n  merging, nomerge flag handling, tree depth growth\n  (ext4_ext_grow_indepth), leaf and intermediate index node splitting\n  (ext4_ext_split via test_insert_extent_leaf_split and\n  test_insert_extent_index_split), and tree collapse back into the root\n  inode (ext4_ext_try_to_merge_up).\n- Extent space removal and truncation (ext4_ext_remove_space,\n  ext4_ext_truncate) across tail truncates, partial trims, middle hole\n  punches, multi-level index removal (ext4_ext_rm_idx), and bigalloc\n  partial-cluster nofree and pending cluster rereservation\n  (ext4_rereserve_cluster).\n- Block mapping and allocation (ext4_ext_map_blocks), including hole\n  lookup, delayed-extent hole adjustment, QUERY_LAST_IN_LEAF, block\n  allocation, overlap clamping, ENOSPC handling, unwritten-to-written\n  conversion with neighbor merging, and bigalloc implied cluster\n  allocation (ext4_map_cluster_from_extent).\n- Extent shifting (ext4_ext_shift_extents) for FALLOC_FL_COLLAPSE_RANGE\n  and FALLOC_FL_INSERT_RANGE, extent swapping (ext4_swap_extents, also\n  exporting ext4_double_{down,up}_write_data_sem for lockdep-clean\n  two-inode locking in test_swap_extents), cluster mapping queries\n  (ext4_clu_mapped), JBD2 transaction credit calculations\n  (ext4_ext_calc_credits_for_single_extent,\n  ext4_ext_index_trans_blocks), and fast-commit replay helpers\n  (ext4_ext_replay_update_ex, ext4_ext_replay_shrink_inode,\n  ext4_ext_replay_set_iblocks).\n- Fix ext4_ext_path memory leaks in the existing test_split_convert()\n  helpers and isolate the mock extent status shrinker from background\n  reclaim.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "5cb6d612274ecb907a8482c8b670a353b05630df",
      "tree": "ad27737a43b2eb0f694461f87836cb48c100ef3a",
      "parents": [
        "308c3c2ead9b32e959e8b08f6375b19aabad116f"
      ],
      "author": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Thu Nov 05 03:17:44 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:14 2026 -0500"
      },
      "message": "ext4: add KUinit tests for fs/ext4/extents_status.c\n\nThese tests were created with the help of Gemini Pro and verified by a\nhuman.\n\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "308c3c2ead9b32e959e8b08f6375b19aabad116f",
      "tree": "7c9e6db002039c39b84744ea386463605de5bfc9",
      "parents": [
        "7b42853f32d97febf8e71e6a07b805b61f7a108c"
      ],
      "author": {
        "name": "Amit Patole",
        "email": "amit.patole@gmail.com",
        "time": "Thu Nov 05 09:00:36 2026 -0500"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "jbd2: document the h_invalid handle flag\n\nCommit 61e2a90a910c (\"ext4: enable scoped NOFS when starting a handle\nin nojournal mode\") added the h_invalid bit to struct\njbd2_journal_handle but did not add it to the kernel-doc comment above\nthe structure, so kernel-doc now warns:\n\n  include/linux/jbd2.h:523 struct member \u0027h_invalid\u0027 not described in\n  \u0027jbd2_journal_handle\u0027\n\nDescribe the new flag. It is set by ext4_get_nojournal() on a handle\nthat is not attached to any journal and is tested by\next4_handle_valid().\n\nThe warning was found by running scripts/kernel-doc over the headers\npulled into the htmldocs build. An AI coding assistant (Claude Opus\n5.5) was used to locate the warning and draft this change; it was\nverified with scripts/kernel-doc (no warnings left) and checkpatch.\n\nFixes: 61e2a90a910c (\"ext4: enable scoped NOFS when starting a handle in nojournal mode\")\nSigned-off-by: Amit Patole \u003camit.patole@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261105-kdoc-jbd2-h_invalid-v1-1-4bc224f7d0a2@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "7b42853f32d97febf8e71e6a07b805b61f7a108c",
      "tree": "fcc578a49c696a349e52bd27125a146d75af4bc8",
      "parents": [
        "e5db68ec43e9afc56ca3141ed16c70f0c6a48b0f"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Sun Nov 01 10:21:45 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: report unwritten extent conversion failures as writeback errors\n\nWhen a data writeback bio completes successfully but the subsequent\nunwritten extent conversion fails, ext4_end_io_end() does not record\nthe error in the inode\u0027s mapping writeback error state.\n\nBio failures are already recorded by ext4_end_bio(), but conversion\nfailures are not. When the conversion is processed asynchronously,\nits return value is not propagated to userspace, so fsync() may\nreturn success despite the failed conversion.\n\nRecord conversion errors with mapping_set_error() before\next4_release_io_end() ends folio writeback and wakes waiters. This\nallows fsync() to observe the failure.\n\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20261101102145.647496-1-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "e5db68ec43e9afc56ca3141ed16c70f0c6a48b0f",
      "tree": "1b9f44c8dae6c4c613336fa4edb416422355aed5",
      "parents": [
        "bbae5e26222e901ca412927ef8b4662e6586171a"
      ],
      "author": {
        "name": "Hengyu Liang",
        "email": "hengyul@cs.unc.edu",
        "time": "Fri Oct 30 00:05:20 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: do not advance i_size on a buffered write that copied nothing\n\nCommit 665575cff098 (\"filemap: move prefaulting out of hot write path\")\nmade generic_perform_write() call -\u003ewrite_begin() and -\u003ewrite_end()\nbefore it finds out that the source buffer cannot be read.  In that\ncase -\u003ewrite_end() is called with copied \u003d\u003d 0.\n\nHowever, ext4_write_end(), ext4_journalled_write_end() and\next4_da_do_write_end() set i_size to pos + copied without checking\ncopied.  As of now, a buffered write() past EOF that fails with EFAULT\ngrows the file to the write offset, and the new size can reach the\ndisk.\n\nThe issue can be reproduced on an ext4 mount with:\n\n    char *p \u003d mmap(NULL, 4096, PROT_NONE,\n                   MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);\n    int fd \u003d open(\"/mnt/ext4/file\", O_CREAT | O_TRUNC | O_RDWR, 0600);\n    pwrite(fd, p, 4096, 1024 * 1024);   /* fails with EFAULT */\n    fstat(fd, \u0026st);\n\nBefore that commit, the result is st_size \u003d 0.\nAfter it, the result is st_size \u003d 1048576.\n\nThis patch will leave i_size alone when nothing was copied, as\next4_write_inline_data_end() already does.  Unlike ext4_write_end(),\nthe delalloc path does not trim after a short write, so the folio and\nthe delayed blocks that -\u003ewrite_begin() set up beyond i_size are left\nbehind, and the blocks stay reserved until the inode is evicted.  When\nthe write ends beyond i_size, drop them as well.\n\nFixes: 665575cff098 (\"filemap: move prefaulting out of hot write path\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hengyu Liang \u003chengyul@cs.unc.edu\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261030040520.4138904-1-hengyul@cs.unc.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "bbae5e26222e901ca412927ef8b4662e6586171a",
      "tree": "aa2821462244860b4bdcf704e35c650866b427b9",
      "parents": [
        "d0877f8eb3c08218cb9f6165f565d90e956fb9ea"
      ],
      "author": {
        "name": "Hengyu Liang",
        "email": "hengyul@cs.unc.edu",
        "time": "Thu Oct 29 22:57:30 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: do not report inline conversion allocation failures as fs errors\n\nWhen truncate grows an inline-data file beyond its inline capacity,\next4_setattr() first calls ext4_convert_inline_data(). If the conversion\nfails, it jumps to err_out and passes the error to ext4_std_error().\n\nAllocating the first block can fail with -ENOSPC or -EDQUOT on a healthy\nfilesystem. Reporting these as filesystem errors records an error in the\nsuperblock and, with errors\u003dremount-ro, aborts the journal and rejects\nsubsequent writes with -EROFS.\n\nFor example, create a filesystem with inline_data,quota and mount it with\nusrquota,errors\u003dremount-ro. Create a small inline file owned by a user with\na 1 MiB block quota, then let that user fill the quota in a second file.\nGrowing the inline file with ftruncate() returns EDQUOT, after which even\nroot can no longer create a file.\n\nReturn conversion errors directly, as other callers of\next4_convert_inline_data() do. The conversion helper handles its own\ncleanup, and lower layers report metadata and journal errors.\n\nFixes: ed9356a30e59 (\"ext4: convert inline data to extents when truncate exceeds inline size\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hengyu Liang \u003chengyul@cs.unc.edu\u003e\nLink: https://patch.msgid.link/20261030025730.3965245-1-hengyul@cs.unc.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "d0877f8eb3c08218cb9f6165f565d90e956fb9ea",
      "tree": "f758368aa33796e35ad2348f92ea8329e76b2c7f",
      "parents": [
        "390d69dd5c82e402882d690754a72a3e898b701b"
      ],
      "author": {
        "name": "Zhang Yi",
        "email": "yi.zhang@huawei.com",
        "time": "Fri Oct 30 10:13:38 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: initialize map-\u003em_pblk in ext4_da_map_blocks()\n\next4_da_map_blocks() returns a delalloc mapping through @map without\ntouching map-\u003em_pblk at all. Callers that only set up m_lblk and m_len\nof their local struct ext4_map_blocks and leave the rest to the mapping\nhelper, like ext4_iomap_map_blocks() does, end up with whatever happened\nto be on their stack, so the trace_ext4_iomap_buffered_write_begin()\ntracepoint prints an uninitialized pblk for a delalloc mapping.\n\nThis has been harmless so far, ext4_da_get_block_prep() and\next4_set_iomap() both ignore m_pblk for a delalloc mapping, only the new\ntracepoint dumps it.\n\nInitialize m_pblk along with m_flags at the beginning of\next4_da_map_blocks(), so that a delalloc mapping is always reported with\npblk 0, the same way ext4_map_blocks() reports it.\n\nFixes: 008f019ab559 (\"ext4: add block mapping tracepoints for iomap buffered I/O path\")\nSigned-off-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261030021338.1768292-5-yi.zhang@huaweicloud.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "390d69dd5c82e402882d690754a72a3e898b701b",
      "tree": "e41d9ead86cad0f806db5890c7f48b2b0299b285",
      "parents": [
        "d5fd7d0564d800d42302c6750b74b78f655fe81d"
      ],
      "author": {
        "name": "Zhang Yi",
        "email": "yi.zhang@huawei.com",
        "time": "Fri Oct 30 10:13:37 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: add inode to orphan list before extent conversion\n\next4_alloc_file_blocks() zeroes the blocks it has just allocated and\nconverts their unwritten extents in a handle started with\next4_chunk_trans_blocks(), which reserves credits for a single extent.\nThe range is allocated with ext4_map_blocks() first and converted\nafterwards, and only the unwritten extent conversion which runs on I/O\ncompletion can modify the extent tree of that range in between, since\nthis path holds i_rwsem. If such a conversion converts part of the\nrange first, it splits the extent, and converting the whole range then\nneeds more credits than the handle has reserved.\n\nBefore commit 10660a0ca7ed (\"ext4: rework handle credit accounting for\nunwritten extent conversion\"), this race condition led to insufficient\ncredits, which made the conversion fail with -ENOSPC in the middle of\nthe range. After it, ext4_convert_unwritten_extents() can extend or\nrestart the transaction. Restarting commits everything modified so\nfar, so the extents converted by the first iterations reach the disk\nbefore this function adds the inode to the orphan list. A crash in\nbetween leaves written extents beyond i_disksize on disk with the\ninode not on the orphan list, which fsck complains about.\n\nAdd the inode to the orphan list before the conversion instead and keep\nit there until i_disksize has caught up. A restart then commits the\norphan entry together with the extents converted so far, and the entry\nis only removed by the transaction which raises i_disksize and i_size.\n\nFixes: 10660a0ca7ed (\"ext4: rework handle credit accounting for unwritten extent conversion\")\nFixes: f7237a775c8f (\"ext4: protect WRITE_ZEROES written extents with orphan list\")\nSigned-off-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261030021338.1768292-4-yi.zhang@huaweicloud.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "d5fd7d0564d800d42302c6750b74b78f655fe81d",
      "tree": "fb5f3cdd6daac9cf99a830f8ca7d86731ad0aff3",
      "parents": [
        "1ea9e6b3bd3136288fb8717c6899ff43e4d99524"
      ],
      "author": {
        "name": "Zhang Yi",
        "email": "yi.zhang@huawei.com",
        "time": "Fri Oct 30 10:13:36 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:13 2026 -0500"
      },
      "message": "ext4: fix extent status cache clearing when truncating inline data\n\next4_inline_data_truncate() clears the whole extent status tree of the\ninode when it truncates the inline data, with\n\n\text4_es_remove_extent(inode, 0, EXT_MAX_BLOCKS);\n\nIt does that when the inode still carries inline data while the\nEXT4_STATE_MAY_INLINE_DATA state bit is already cleared.  This is the\ncase once an inline-to-extent conversion has been initiated, which is\ntriggered by a delalloc buffered write larger than the inline space in\next4_da_convert_inline_data_to_extent().\n\nThe clear is meant to drop stale extent status entries of such an inode\nto prevent stale extents and stale reserved space after the conversion,\nbut the range is too wide.  It also drops the entries of the blocks\nbelow the new end of file, that is the blocks that stay in the file.\n\nWhen writeback of these blocks starts later, the lookup of such a block\nmisses the extent status tree, falls back to the extent tree and caches\na hole entry for it.  Those blocks then have dirty, mapped and delayed\nbuffers together with a hole extent status entry.  This is an\nunexpected inconsistency.\n\nThis problem has been hidden so far because we allocate blocks and new\nextents for them during writeback.  But once \u0027244392197bb9 (\"ext4: skip\nblock allocation for holes in the data submission path\")\u0027 is merged\nduring the iomap conversion, the writeback behavior will be normalized,\nand it will no longer allocate blocks for holes, thus exposing this\nproblem.\n\nTherefore, restrict the range to the blocks that are actually truncated\naway, and pass EXT_MAX_BLOCKS minus lblk as the length.\n\nReported-by: syzbot ci \u003csyzbot+ci46f64f7b6a2a188e@syzkaller.appspotmail.com\u003e\nCloses: https://lore.kernel.org/linux-ext4/6ac92a4c.70ed5d86.2ac85.0072.GAE@google.com/\nFixes: 0add491df4e5 (\"ext4: remove extent cache entries when truncating inline data\")\nSigned-off-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReported-by: syzbot+97fbc97fdd4e4fa2ed3a@syzkaller.appspotmail.com\nTested-by: syzbot+97fbc97fdd4e4fa2ed3a@syzkaller.appspotmail.com\nLink: https://lore.kernel.org/linux-ext4/20261009103033.2920530-9-yi.zhang@huaweicloud.com/\nLink: https://lore.kernel.org/linux-ext4/6ac92a4c.70ed5d86.2ac85.0072.GAE@google.com/\nLink: https://patch.msgid.link/20261030021338.1768292-3-yi.zhang@huaweicloud.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "1ea9e6b3bd3136288fb8717c6899ff43e4d99524",
      "tree": "b52a72988150fe247e6201b4896a85fccac8085d",
      "parents": [
        "cdecc68d94a7f35284e36ea80bc7a09bd7cb42b8"
      ],
      "author": {
        "name": "Zhang Yi",
        "email": "yi.zhang@huawei.com",
        "time": "Fri Oct 30 10:13:35 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: return 0 instead of stale ret in ext4_iomap_writepages()\n\nsmatch reports a \"missing error code\" warning:\n\n  fs/ext4/inode.c:4518 ext4_iomap_writepages() warn: missing error code? \u0027ret\u0027\n\nThe \u0027ret\u0027 variable has already been consumed by the\next4_emergency_state() check at the beginning of the function, so its\nvalue is always zero at this point. Returning it is equivalent to\nreturning 0, but it is misleading because it looks like an error code is\nbeing propagated.\n\nThis branch handles the race with ext4_change_inode_journal_flag(),\nwhich flushes the dirty data and drops the page cache before switching\nthe inode to the buffer_head path, so there is genuinely nothing to\nwrite back here. Return 0 explicitly to make the intent clear.\n\nFixes: bdcbb0f19e92 (\"ext4: partially enable iomap for the buffered I/O path of regular files\")\nReported-by: kernel test robot \u003clkp@intel.com\u003e\nReported-by: Dan Carpenter \u003cerror27@gmail.com\u003e\nCloses: https://lore.kernel.org/r/202610160314.PLMEXaOJ-lkp@intel.com/\nSigned-off-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261030021338.1768292-2-yi.zhang@huaweicloud.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "cdecc68d94a7f35284e36ea80bc7a09bd7cb42b8",
      "tree": "53e1699a00fd174f42a1b7ea7722a40d6d353759",
      "parents": [
        "58b186b5bbd295b0a3001ef4d40af1ea84501e5c"
      ],
      "author": {
        "name": "Hungyu Lin",
        "email": "dennylin0707@gmail.com",
        "time": "Tue Oct 27 03:58:57 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: preserve force-fsck requests across unmount\n\nEXT4_TUNE_FL_FORCE_FSCK sets EXT4_ERROR_FS in the on-disk superblock\nbut leaves s_mount_state unchanged. On a normal read-write unmount,\next4_put_super() restores s_state from s_mount_state, clearing the\nrequested flag.\n\nAs a result, a successful EXT4_IOC_SET_TUNE_SB_PARAM call can be lost\nbefore e2fsck runs: after unmount it treats the filesystem as clean\nand skips the requested check.\n\nSet EXT4_ERROR_FS in s_mount_state as well, matching the state handling\nin ext4_clear_journal_err(), so later superblock updates retain the\nrequest.\n\nFixes: 04a91570ac67 (\"ext4: implemet new ioctls to set and get superblock parameters\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hungyu Lin \u003cdennylin0707@gmail.com\u003e\nLink: https://patch.msgid.link/20261027035857.72265-1-dennylin0707@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "58b186b5bbd295b0a3001ef4d40af1ea84501e5c",
      "tree": "e5c730eb3f1b6dc54c4862b13aef35729b6b5585",
      "parents": [
        "6bda1a98b7ce2f88a0e206756999f608f8437722"
      ],
      "author": {
        "name": "Hamza Mahfooz",
        "email": "hamzamahfooz@linux.microsoft.com",
        "time": "Mon Oct 26 12:48:53 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: validate inode block references during fast commit replay\n\n__ext4_iget() currently skips ext4_ext_check_inode() and\next4_ind_check_inode() when EXT4_FC_REPLAY is set in s_mount_state.\nAs a result, an extent-mapped inode loaded from disk during fast commit\nreplay never has its in-inode extent header or root extent entries\nvalidated before replay paths such as ext4_fc_replay_inode() and\next4_fc_replay_add_range() walk or modify i_data[].\n\nA crafted filesystem image with a fast commit journal and an inode whose\neh_max / eh_entries exceed the four-extent capacity of i_data[] triggers\nslab-out-of-bounds reads in ext4_cache_extents() and slab-out-of-bounds\nwrites in ext4_ext_insert_extent() into adjacent fields of struct\next4_inode_info and beyond the ext4_inode_cache slab allocation.\n\next4_ext_check_inode() and ext4_ind_check_inode() only validate the\nin-inode extent header and check block numbers against static superblock\nbounds via ext4_inode_block_valid(), not block allocation bitmaps. So,\ndrop the EXT4_FC_REPLAY exemption in __ext4_iget() so inodes read during\nfast commit replay are validated.\n\nCc: stable@vger.kernel.org\nReported-by: Simon Brakhane \u003csimon@brakhane.net\u003e\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nSigned-off-by: Hamza Mahfooz \u003chamzamahfooz@linux.microsoft.com\u003e\nLink: https://patch.msgid.link/20261026164853.3125835-1-hamzamahfooz@linux.microsoft.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "6bda1a98b7ce2f88a0e206756999f608f8437722",
      "tree": "024f882eb679e6c59eeb29323de5d95db18d09ca",
      "parents": [
        "e057b8082759e9dfed7a77ee1cadcd37810681c1"
      ],
      "author": {
        "name": "Lukas Czerner",
        "email": "lukas@czerner.cz",
        "time": "Sun Oct 25 21:18:02 2026 +0100"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: fix failed migrate freeing extent tree blocks\n\nIn case ext4_ext_swap_inode_data() fails it will clean up a failed\nmigration by freeing the extent tree in the tmp_inode. However, in\ncase we already copied the temporary inode\u0027s extent tree root into\nthe original inode, the process has been functionally finished.\nThe error case clean up calls free_ext_block() which will free those\nextent tree blocks while the original inode already points at them and\nthe filesystem ends up with multiply claimed blocks.\n\nFix it by resetting the temporary inode\u0027s root to an empty tree right\nafter copying i_data to the original inode, so free_ext_block() won\u0027t\nfree the original inode extent tree blocks. Move temporary inode\u0027s\ni_blocks as well so eviction won\u0027t try to truncate metadata blocks the\ntmp_inode no longer owns.\n\nSigned-off-by: Lukas Czerner \u003clukas@czerner.cz\u003e\nLink: https://patch.msgid.link/20261025201803.3043712-2-lukas@czerner.cz\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "e057b8082759e9dfed7a77ee1cadcd37810681c1",
      "tree": "34886e4bd8c83ef85aff276640a949674785e45a",
      "parents": [
        "f62b22b69aefa031ab65b46794a64e448edaa9ae"
      ],
      "author": {
        "name": "dardaoe",
        "email": "dardaoe@proton.me",
        "time": "Sun Oct 25 13:16:21 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "Documentation: ext4: fix group descriptor and superblock placement in meta_bg description\n\nThe Meta Block Groups section is imprecise in two places:\n\n - Without meta_bg, it says all group descriptor copies are kept in\n   the first block group. In fact the primary table lives in group 0\n   and a backup of the whole table follows every superblock backup.\n\n - With meta_bg, it says the superblock and a group descriptor block\n   are placed at the start of the first, second and last groups of\n   each meta-block group. Only the descriptor block is; superblock\n   backups still follow the sparse_super placement rules\n   (ext4_bg_has_super()), independent of meta_bg.\n\nFix the wording and describe the interaction.\n\nAssisted-by: LLM\nSigned-off-by: dardaoe \u003cdardaoe@proton.me\u003e\nLink: https://patch.msgid.link/cJaripqlNO272O1fNRgrozKg2ocrVAPYS9w-1c-x1ltKdOsoNw9hWVKawqm7CoIhYb1pOwrTf6xxju_RKzajEmy8T1be_FuyQKKQ-GPGvB0\u003d@proton.me\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "f62b22b69aefa031ab65b46794a64e448edaa9ae",
      "tree": "c4e6356bc288ba9d60be0bde7b4a5ef7a4c67934",
      "parents": [
        "43fd15ef7deb3fb6dbf749112c80046e3c1926fc"
      ],
      "author": {
        "name": "Lukas Czerner",
        "email": "lukas@czerner.cz",
        "time": "Sat Oct 24 12:44:07 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: free fast commit replay state on failed mounts\n\next4_fc_replay_cleanup() is only ever called on the success path of\n__ext4_fill_super(). Fast commit replay runs from jbd2_journal_load(),\nso a mount that fails after that point leaks the fc_regions and\nfc_modified_inodes allocated during replay.\n\nCall ext4_fc_replay_cleanup() from the failed_mount3a error path, which\nevery failure after jbd2_journal_load() goes through. Do it after\ndraining deferred EA inode iputs, so evictions still run with\nEXT4_FC_REPLAY set. On paths where no replay happened both are NULL so\nthis would be a no-op.\n\nFailures after the success path ext4_fc_replay_cleanup() call fall\nthrough failed_mount3a as well, so set both pointers to NULL after\nfreeing them to avoid a double free.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nSigned-off-by: Lukas Czerner \u003clukas@czerner.cz\u003e\nLink: https://patch.msgid.link/20261024104407.1037354-1-lukas@czerner.cz\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "43fd15ef7deb3fb6dbf749112c80046e3c1926fc",
      "tree": "5b16ba7417525504a17442ceeb21c28f2ca63aae",
      "parents": [
        "f0872c44eda1f936b766bf87a384286986ef1b7c"
      ],
      "author": {
        "name": "Ojaswin Mujoo",
        "email": "ojaswin@linux.ibm.com",
        "time": "Fri Oct 23 15:53:45 2026 +0530"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:12 2026 -0500"
      },
      "message": "ext4: return -EINVAL on hole in ext4_convert_unwritten_extents_atomic()\n\nWe should ideally never encounter a hole during the endio conversion as\nthat indicates something is wrong with our extent handling. Still if we do\nfind a hole at atomic write endio, ext4_map_blocks() returns 0 which would\nbe returned back to callers by ext4_convert_unwritten_extents_atomic().\nThis can be wrongly interpreted as a success. Fix this by bailing out with\n-EINVAL instead.\n\nSigned-off-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261023-ext4-atomic-endio-fix-b4-v1-1-f91feb0b9613@linux.ibm.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "f0872c44eda1f936b766bf87a384286986ef1b7c",
      "tree": "cbeddc2c4364b3f788a8d57d1a96656674f5e091",
      "parents": [
        "bfb8f5ce8815bb99770e355a916348df98181f18"
      ],
      "author": {
        "name": "Baokun Li",
        "email": "libaokun@linux.alibaba.com",
        "time": "Thu Oct 22 20:26:25 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: skip eof zeroing when the zero range covers the eof block\n\next4_zero_range() drops the page cache of the range before allocating,\nto avoid exposing stale cached data.  However, the dropped page can be\nread back by the eof zeroing:\n\n  fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, 4096)\n    ext4_zero_range()\n      ext4_truncate_page_cache_block_range(0, 4096)\n        truncate_pagecache_range(0, 4095)\n          truncate_inode_pages_range()\n            delete_from_page_cache_batch()  # drops the page\n      ext4_alloc_file_blocks(..., 4096)\n        ext4_block_zero_eof(512, LLONG_MAX) # not block aligned\n          ext4_load_tail_bh()\n             __filemap_get_folio(FGP_WRITEBEGIN | FGP_ACCESSED)\n             # FGP_CREAT reads the dropped page back\n             # zeroes [512,1024), marks the buffer dirty\n        ext4_map_blocks(...)  # converts the extent to unwritten\n        ext4_update_inode_size(4096)\n\nThe bytes below the old EOF keep the stale disk content.  The page is\nleft dirty, so read() returns old data while O_DIRECT reads zeroes, and\na write into the same block is not converted and is lost until the page\nis dropped:\n\n  page [0, 4096), 1k block size, file ends at 512\n   0            512          1024                      4096\n   |--- data ----|-- tail ---|---- zero range ----------|\n   | old data    |           |                          |\n\nFor example:\n\n  $ xfs_io -f -c \"pwrite -S 1 0 512\" f\n  $ sync\n  $ fallocate -z -o 0 -l 4096 f\n  $ xfs_io -c \"pread -v 0 16\" f  # old data, not zeroes\n\nFALLOC_FL_WRITE_ZEROES hits the same path.  ext4_issue_zeroout() zeroes\nthe block on disk without updating the page cache, and the block stays\nwritten.  Therefore, writeback of the dirty page overwrites the zeroes\nwith old data.\n\nSince the whole eof block is converted to unwritten or zeroed out,\nzeroing it here is redundant.  Therefore, skip the zeroing when this\nallocation covers the eof block entirely.\n\nFixes: c4602a1d09ec (\"ext4: move zero partial block range functions out of active handle\")\nFixes: f4265b8d32c4 (\"ext4: add FALLOC_FL_WRITE_ZEROES support\")\nCc: stable@vger.kernel.org\nSigned-off-by: Baokun Li \u003clibaokun@linux.alibaba.com\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261022122625.1744363-1-libaokun@linux.alibaba.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "bfb8f5ce8815bb99770e355a916348df98181f18",
      "tree": "8188841ae03c1a320649d6ee8aa4cda3f4bf510c",
      "parents": [
        "356c926061758e4a578f3d42069eca65f13d1e80"
      ],
      "author": {
        "name": "Yichong Chen",
        "email": "chenyichong@uniontech.com",
        "time": "Thu Oct 22 15:02:35 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: drop tmp inode ownership before migration cleanup\n\nAfter the extent tree is transferred to the original inode,\next4_journal_ensure_credits() can fail before tmp_inode is cleared. The\nsubsequent iput(tmp_inode) may then free the transferred tree.\n\nMove the existing resets of tmp_inode\u0027s size, block count and checksum\nseed before ext4_journal_ensure_credits(). This leaves the temporary inode\nready for eviction even if obtaining journal credits fails. Keep\next4_ext_tree_init(), which marks the inode dirty, after the credits check.\n\nFixes: a413036791d0 (\"ext4: Provide function to handle transaction restarts\")\nSigned-off-by: Yichong Chen \u003cchenyichong@uniontech.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261022070235.17849-1-chenyichong@uniontech.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "356c926061758e4a578f3d42069eca65f13d1e80",
      "tree": "dd80a10c811a7ba461dcfe4b69787b9a90f35bcf",
      "parents": [
        "46b2ccfab37b4040fa27da9d0b0cf068e5875db5"
      ],
      "author": {
        "name": "Jiaming Zhang",
        "email": "r772577952@gmail.com",
        "time": "Wed Oct 21 16:56:35 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: clear in-inode xattr space before adding the first xattr\n\nAn inode can hold extended attributes in the space that follows its extra\nfields, whose size is given by i_extra_isize.  When ext4 loads an inode,\next4_iget_extra_inode() validates that space only if it starts with the\nxattr magic, and only then sets EXT4_STATE_XATTR.  Without the magic, the\nspace is treated as empty and is not checked.\n\next4_xattr_ibody_set() passes the space to ext4_xattr_set_entry() whether\nor not EXT4_STATE_XATTR is set.  ext4_xattr_set_entry() walks the entries\nthere to find min_offs, the lowest value offset.  That offset decides\nwhether the new value fits and where the value is copied:\n\n\tfree \u003d min_offs - ((void *)last - s-\u003ebase) - sizeof(__u32);\n\t...\n\tvoid *val \u003d s-\u003ebase + min_offs - new_size;\n\nA crafted image can leave non-zero bytes in that space without the magic\nwhere ext4 looks for it, for example by shrinking i_extra_isize.  Those\nbytes are parsed as entries, and an entry that claims an in-inode value at\noffset 0 sets min_offs to 0.  Because free is a size_t, the subtraction\nthen wraps around to a huge value, and the free space check passes although\nthe value does not fit.  The value is copied new_size bytes before the\nstart of the space, over the inode\u0027s own fields and, for a large value, the\nmemory in front of the inode.\n\nOn a kernel without KASAN, the copy corrupts memory: it overwrites the\ninode\u0027s own fields and, for a large value, also the memory in front of the\ninode.  The bytes and their length are decided by the setxattr() caller.\nNothing is freed and reused here, so the use-after-free in the report only\nreflects where the write happened to land.\n\nTriggering this issue requires mounting a crafted image, which needs\nCAP_SYS_ADMIN or automounting of removable media; after that, any\nsetxattr() on the file reaches this path.  The issue was found by fuzzing\nand has not been seen in production; a reproducer is available in the\nlinked report.\n\nWhen EXT4_STATE_XATTR is not set, zero the first 32 bits of the space in\next4_xattr_ibody_set() before calling ext4_xattr_set_entry().  These are\nthe bits IS_LAST_ENTRY() reads, so the space is treated as empty and the\nwalk stops before reading any stale entry.\n\nFixes: ac27a0ec112a (\"[PATCH] ext4: initial copy of files from ext3\")\nCloses: https://lore.kernel.org/lkml/CANypQFZzxTAH\u003d4QRRDoqH6VAw1daAq88NDWiQKoM7QTOnP40sg@mail.gmail.com/\nCc: stable@vger.kernel.org\nAssisted-by: Claude Code:claude-opus-5-5\nSigned-off-by: Jiaming Zhang \u003cr772577952@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261021085635.3633692-1-r772577952@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "46b2ccfab37b4040fa27da9d0b0cf068e5875db5",
      "tree": "9c5c20430fbaf053d8a1b15fed50c04e7f3b3d02",
      "parents": [
        "0a10fca0f1545af1f9b55323b8d6958c12c7a7a6"
      ],
      "author": {
        "name": "Kaixuan Li",
        "email": "kaixuanli0131@gmail.com",
        "time": "Mon Oct 19 21:16:55 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: don\u0027t read past the UAPI struct in GROUP_ADD\n\nEXT4_IOC_GROUP_ADD casts the user pointer to struct ext4_new_group_input,\nits UAPI type, but sizes the copy by struct ext4_new_group_data, the\ninternal type:\n\n\tstruct ext4_new_group_data input;\n\n\tif (copy_from_user(\u0026input, (struct ext4_new_group_input __user *)arg,\n\t\t\tsizeof(input)))\n\nThe UAPI struct is 40 bytes, the internal one 48.  A caller that follows\nthe UAPI and allocates 40 bytes gets 8 bytes read past its object, and the\nioctl returns EFAULT when those bytes are unmapped.  The two structs have\ndiffered in size for as long as I can see back -- v6.12.9, v7.2.4 and\ncurrent master all have 40 against 48 -- so the copy has been over-reading\nthe UAPI object throughout.\n\nThe first 40 bytes of the two structs have the same layout, with the UAPI\n\u0027unused\u0027 in the slot of mdata_blocks, so copying that much fills every\nfield the UAPI defines.  free_clusters_count, the one field past it, is\noverwritten by verify_group_input(), and mdata_blocks is read only on the\next4_resize_fs() path, which builds its own group_data array.  Copy the\nUAPI size into a zero-initialised struct.\n\nReproducible on v6.12.9 and v7.2.4 by placing a 40-byte struct at the end\nof a mapped page whose successor is unmapped: the ioctl returns EFAULT.\n\nSigned-off-by: Kaixuan Li \u003ckaixuanli0131@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261019131655.2583227-1-kaixuanli0131@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "0a10fca0f1545af1f9b55323b8d6958c12c7a7a6",
      "tree": "0b309faea44bc65ab7c2534f39139f6fbf82c7ff",
      "parents": [
        "8eb922c5c4672aa872d1459d74ce5d6fa8846031"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Fri Oct 16 14:25:24 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: fix folio reference leak in mpage_submit_partial_folio()\n\nmpage_submit_partial_folio() obtains a folio reference with\nfilemap_get_folio(). If the subsequent position check fails, it\nreturns -EINVAL without dropping that reference.\n\nCall folio_put() before returning from this error path. Leave the\nfolio locked so that the caller can invalidate and unlock it through\nmpage_release_unused_pages().\n\nFixes: ded2d726a304 (\"ext4: fix stale data if it bail out of the extents mapping loop\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261016142524.655789-1-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "8eb922c5c4672aa872d1459d74ce5d6fa8846031",
      "tree": "0992e5697ab709bb0957f6cb3735879f89f70e68",
      "parents": [
        "2cfcd9fa8734c1c526de8a17bda00db0a454e276"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Fri Oct 16 11:03:11 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: record writeback error when discarding pages on failed delalloc\n\nWhen mpage_map_and_submit_extent() gives up on a failed block mapping,\nit sets give_up_on_write so that mpage_release_unused_pages() discards\nthe remaining dirty folios. However, the error is not recorded in the\nmapping\u0027s writeback error state.\n\nIf this happens during background writeback, a later fsync() may\nreport success even though the dirty data was discarded and never\nwritten. Returning the error from ext4_writepages() is not sufficient\nto notify a later fsync(). In addition, ext4_do_writepages() may clear\n-ENOSPC when committing the journal and retrying, even after the\naffected dirty folios have been discarded.\n\nCall mapping_set_error() when deciding to give up on the write,\nbefore the dirty folios are invalidated, so that fsync() can report\nthe writeback failure through the mapping\u0027s error state.\n\nThe give_up_on_write flag also persists across writeback loop\niterations. After a fatal -ENOSPC failure sets it, ext4_do_writepages()\nmay commit the journal and retry without clearing the flag. If a\nsubsequent iteration encounters a transient error and leaves dirty\nfolios pending, mpage_release_unused_pages() invalidates them instead\nof preserving them for retry. Initialize give_up_on_write inside the\nloop so that only a fatal failure in the current iteration causes\nthe remaining dirty folios to be discarded.\n\nFixes: c4a0c46ec92c (\"ext4: invalidate pages if delalloc block allocation fails.\")\nFixes: cb530541182b (\"ext4: fix up error handling for mpage_map_and_submit_extent()\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261016110311.71391-1-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "2cfcd9fa8734c1c526de8a17bda00db0a454e276",
      "tree": "5357687f2f3c09ea724fbe6c4a20f6b80235b92f",
      "parents": [
        "ed2c4b549a7191938f14fc0b5cef8d0c821dd75c"
      ],
      "author": {
        "name": "Karl Mehltretter",
        "email": "kmehltretter@gmail.com",
        "time": "Fri Oct 16 12:37:26 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "ext4: return an error when a journal block is not mapped\n\nIf the internal journal inode contains a hole, ext4_map_blocks() returns\n0. ext4_journal_bmap() logs \"journal bmap failed\" and aborts the\njournal, but also returns 0 and leaves *block unchanged.\n\njbd2_journal_bmap() takes that as success and uses the unchanged logical\njournal block number as a physical filesystem block number. Journal I/O\ncan then overwrite filesystem blocks outside the journal despite the\nabort.\n\nReturn -EFSCORRUPTED for a hole, matching the error passed to\njbd2_journal_abort(). Keep propagating negative mapping errors.\n\nFixes: 62913ae96de7 (\"ext4, jbd2: add an optimized bmap for the journal inode\")\nCc: stable@vger.kernel.org\nAssisted-by: LLM\nSigned-off-by: Karl Mehltretter \u003ckmehltretter@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261016103726.98553-1-kmehltretter@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "ed2c4b549a7191938f14fc0b5cef8d0c821dd75c",
      "tree": "26c95146fdc5d3667699b6e3b7e2a520dec3c080",
      "parents": [
        "06954d44c6d0e8f3c1b0d7961ae217795b734c37"
      ],
      "author": {
        "name": "Stephen Kitt",
        "email": "steve@sk2.org",
        "time": "Wed Oct 14 18:29:20 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:11 2026 -0500"
      },
      "message": "docs: ext4 filesystems can be converted to 64-bit\n\nSince commit fe12931 (\"resize2fs: convert fs to and from 64bit mode\")\nin e2fsprogs, which shipped in version 1.43, resize2fs can convert\nfilesystems from 32-bit to 64-bit and back, so the mention in the\nchecksum documentation that this is impossible is obsolete. This fixes\nthat.\n\nSigned-off-by: Stephen Kitt \u003csteve@sk2.org\u003e\nReviewed-by: Daniel Pereira \u003cdanielmaraboo@gmail.com\u003e\nLink: https://patch.msgid.link/20261014162921.450235-1-steve@sk2.org\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "06954d44c6d0e8f3c1b0d7961ae217795b734c37",
      "tree": "53cd74743742622bf5373890bf46e2d2bac647a1",
      "parents": [
        "6025f9d156cfb6cd67186dbb14ce1e277f73cc66"
      ],
      "author": {
        "name": "Daejun Park",
        "email": "daejun7.park@samsung.com",
        "time": "Tue Oct 13 16:28:52 2026 +0900"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "ext4: spread files of sibling directories over a flex group\n\nOn a flex_bg file system, find_group_other() puts a new file in the\nfirst group of the parent\u0027s flex group that has a free inode. Orlov\nusually keeps a directory below the top level in its parent\u0027s flex group\nand packs directory inodes at its start, so the files of sibling\ndirectories come from the same group and get consecutive inode numbers.\nThe flex_bg path was added by commit a4912123b688 (\"ext4: New\ninode/block allocation algorithms for flex_bg filesystems\"). The\nnon-flex_bg path instead adds the parent\u0027s inode number to the starting\ngroup once the parent\u0027s own group has no free inode or block, so that\nthe files of different directories which share a group land in\ndifferent groups.\n\nWhen several tasks create files in sibling directories at the same time,\ntheir new inodes share inode table blocks. __ext4_get_inode_loc() skips\nreading an inode table block only when no other inode in that block is\nin use in the inode bitmap. The bit of another task\u0027s new inode defeats\nthat check, so the block is read from disk under the buffer lock while\nthe other creators wait for the lock. When the other inodes in use in\nthe block are new as well, as on a freshly made file system, the read\nis wasted, because ext4_do_update_inode() clears the on-disk copy of a\nnew inode before filling it in.\n\nWith 16 tasks each creating 60000 empty files in its own directory under\na common parent on NVMe, the creators read inode table blocks from disk\n50000 times, nine in ten of their context switches were in lock_buffer()\nin __ext4_get_inode_loc(), and the throughput was 290k files/s.\n\nPick the group inside the flex group by the parent\u0027s inode number first.\nWhen that group is full, keep using the group last picked for the\ndirectory, and after that prefer a group with no inode in use, which no\nother directory uses yet. Do the same inside the flex group last used\nand inside the one Orlov picks when those are full. The inode tables of\na flex group are normally contiguous, so the inodes stay in the same\nregion of the disk (32MiB for 16 groups with the mke2fs defaults), and\nthe files of a directory mostly share inode table blocks with each other\nrather than with other directories. The data block goal from\next4_inode_to_goal_block() does not move for flex_bg sizes of 4 and\nmore: it starts regular files at the second group of the flex group\nregardless of the inode\u0027s group. An external xattr block starts at the\ninode\u0027s own group, and the mballoc stream goal slot is picked by inode\nnumber.\n\nIn the test above, the creators read inode table blocks 260 to 530\ntimes and the throughput is 780k files/s.\n\nWhen find_group_other() fails in the last flex group and the number of\ngroups is a multiple of the flex size, it leaves *group, and so\ni_last_alloc_group, equal to the number of groups: parent_group +\nflex_size was reset to 0 only when it was larger, and\nfind_group_orlov() does not read the value. Nothing used that value as\na group before. The retry now passes it to find_group_in_flex() as the\nfirst group of a flex group, so reset it when it is equal too, and\nretry only with a group below the number of groups.\n\nUpdate the description in Documentation/filesystems/ext4/allocators.rst.\n\nSigned-off-by: Daejun Park \u003cdaejun7.park@samsung.com\u003e\nLink: https://patch.msgid.link/20261013-ialloc-flex-spread-v1-1-9ea1d86961aa@samsung.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "6025f9d156cfb6cd67186dbb14ce1e277f73cc66",
      "tree": "4f94d1cff79426a59da68590926a027eba127753",
      "parents": [
        "8a72b083d8bcdb37bff6d42da679df528b16b452"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Tue Oct 13 08:23:31 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "ext4: check return value of blkdev_issue_flush() when starting a fast commit\n\nWhen the file system device differs from the journal device, a cache\nflush is issued on the file system device before fast commit blocks\nare written, but the return value is ignored.  If the cache flush\nfails, the fast commit blocks are written and the fast commit\ncompletes anyway, even though the updates covered by the preceding\ntransactions may not be on stable storage yet, so the fast commit may\nprovide guarantees it cannot keep.\n\nCheck the return value of blkdev_issue_flush() and abort the fast\ncommit if the cache flush fails.  ext4_fc_commit() will then fall back\nto a full journal commit, so the caller still gets the expected\ndurability guarantees.\n\nSince a cache flush failure now aborts the fast commit, also issue\nthe flush only when the journal barrier option is enabled, consistent\nwith the file system device flush issued during a full journal commit\nand with the fast commit tail block flush.  This keeps file systems\nmounted with nobarrier working on devices with failing cache flushes.\n\nFixes: da0c5d2695265 (\"ext4: issue fsdev cache flush before starting fast commit\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nLink: https://patch.msgid.link/20261013082331.2089623-3-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "8a72b083d8bcdb37bff6d42da679df528b16b452",
      "tree": "2252c83ad06da0f8129eec42b7ad71f08f7a7350",
      "parents": [
        "9e3cb03d39332370474222437660efb2ede3be6b"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Tue Oct 13 08:23:30 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "ext4: check return value of blkdev_issue_flush() when initializing inode tables\n\nWhen lazily zeroing an inode table, ext4_init_inode_table() issues a\ncache flush to make sure the zeroed blocks have reached the disk\nbefore setting the EXT4_BG_INODE_ZEROED flag, but the return value is\nignored.  If the cache flush fails, the inode table is still marked as\ninitialized, and a subsequent crash can leave the table containing\nstale data from the previous use of the disk, which may then be\nexposed to user space through newly allocated inodes.\n\nCheck the return value of blkdev_issue_flush() and leave\nEXT4_BG_INODE_ZEROED unset if the cache flush fails, so that the inode\ntable zeroing is retried on the next mount.\n\nSince a cache flush failure now aborts the lazy inode table\ninitialization, also pass the barrier mount option down to\next4_init_inode_table(), consistent with the other cache flushes in\next4 and jbd2 which are issued only when the barrier option is\nenabled.  This keeps file systems mounted with nobarrier working on\ndevices with failing cache flushes.\n\nFixes: a107e5a3a473a (\"Merge branch \u0027next\u0027 into upstream-merge\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nLink: https://patch.msgid.link/20261013082331.2089623-2-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "9e3cb03d39332370474222437660efb2ede3be6b",
      "tree": "b21724cd83d1fa88949d9624f1214977ae352cc6",
      "parents": [
        "b8e62a68c59fc6171c51e919beff5dff6e473f4e"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Tue Oct 13 01:40:28 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "jbd2: check return value of blkdev_issue_flush() for async commits\n\nWhen asynchronous commits are enabled, jbd2_commit_transaction()\ncalls blkdev_issue_flush() on the journal device to make the commit\nrecord permanent.  However the return value is ignored so if the\nflush fails, the transaction is considered committed although the\ncommit record may have never reached the disk.  Abort the journal\nwhen the flush fails, as we already do when waiting for the commit\nrecord fails.\n\nFixes: f73bee49855f (\"jbd2: Modify ASYNC_COMMIT code to not rely on queue draining on barrier\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261013014028.1152277-4-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "b8e62a68c59fc6171c51e919beff5dff6e473f4e",
      "tree": "16a4383471029dbb4f984fe453a34d7faee4840b",
      "parents": [
        "40b2a37f9a7e2264e7f62949ea5b27020a0eacb3"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Tue Oct 13 01:40:27 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "jbd2: check return value of blkdev_issue_flush() when committing\n\nFor journals on a separate device, jbd2_commit_transaction() must\nflush the file system device before submitting the commit record,\notherwise the transaction may get committed while the ordered data\nare still in the device cache.  However the return value of\nblkdev_issue_flush() is ignored so if the flush fails, the commit\nrecord is still submitted and fsync() reports success although the\nordered data may have never reached the disk.  After a crash the\njournal recovery will consider such transactions committed and data\nwritten by fsync() may be lost.\n\nAbort the journal when the flush fails.  The commit record is then\nnot submitted anymore since journal_submit_commit_record() checks\nfor an aborted journal.\n\nFixes: cc3e1bea5d87 (\"ext4, jbd2: Add barriers for file systems with exernal journals\")\nCc: stable@vger.kernel.org\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nLink: https://patch.msgid.link/20261013014028.1152277-3-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "40b2a37f9a7e2264e7f62949ea5b27020a0eacb3",
      "tree": "4919066022a6f10fa7ce537a882cce2b4703c64a",
      "parents": [
        "7d7c9c83c8227c113aa4f1bae9a8d43b8ea6c839"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Tue Oct 13 01:40:26 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "jbd2: check return value of blkdev_issue_flush() when checkpointing\n\njbd2_cleanup_journal_tail() calls blkdev_issue_flush() on the file\nsystem device to make sure all checkpointed data are on permanent\nstorage before it updates the log tail in the superblock.  However\nthe return value of blkdev_issue_flush() is ignored so if the flush\nfails, we still advance the log tail.  After a crash the journal\nrecovery will consider the checkpointed transactions as committed\nand skip the replay while their data may have never reached the\ndisk, which may lead to a filesystem corruption.\n\nAbort the journal when the flush fails, similar to how we abort\nwhen detecting writeback errors of the file system device.\n\nFixes: 79feb521a447 (\"jbd2: issue cache flush after checkpointing even with internal journal\")\nCc: stable@vger.kernel.org\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nLink: https://patch.msgid.link/20261013014028.1152277-2-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "7d7c9c83c8227c113aa4f1bae9a8d43b8ea6c839",
      "tree": "fb0d672e3c368743645ae02f457fbb8778ea41cb",
      "parents": [
        "d4e9b9bb1e3848b139174c4fb268c3f19e707982"
      ],
      "author": {
        "name": "Tal Zussman",
        "email": "tz2294@columbia.edu",
        "time": "Mon Oct 12 14:04:37 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:10 2026 -0500"
      },
      "message": "ext4: complete dropbehind writeback in task context\n\next4_end_bio() ends writeback directly from bio completion, which\nusually runs in interrupt context, unless the io_end has unwritten\nextents to convert and is completed from ext4\u0027s workqueue.\nfolio_end_dropbehind() only invalidates the folios of an RWF_DONTCACHE\nwrite when it runs in task context, and silently skips them otherwise.\nSo on ext4, dontcache writes that overwrite blocks that are already\nwritten, or that allocate blocks without unwritten extents, leave their\nfolios in the page cache. Dropping them was best effort so far, as there\nwas no way to get task context from bio completion.\n\nUse the task-context bio completion infrastructure instead: set\nBIO_COMPLETE_IN_TASK on bios that carry dropbehind folios in\nio_submit_add_bh(), so that bio_endio() runs their completion from a\nworker. ext4\u0027s iomap buffered I/O path already gets this from iomap, so\nonly the buffer_head based writeback is affected. Skip the flag when the\nio_end already has unwritten extents, as ext4 then defers the completion\nitself. A later extent can still make the io_end unwritten after an\nearlier bio was built. That bio\u0027s completion is then deferred twice,\nwhich is not optimal, but harmless.\n\nThis changes behavior only for bios that carry dropbehind folios: their\ncompletion now runs from a worker instead of in interrupt context.\n\nOn the unpatched kernel a dontcache overwrite of already-written blocks,\nor a dontcache write into a new file on a dioread_lock mount, leaves\nevery folio in the page cache (16384/16384 for a 64M file). With the\npatch, none remain in the page cache. A dontcache write into a new file\nwith unwritten extents already drops its folios on both kernels, as\nexpected, and a plain write keeps them.\n\nSigned-off-by: Tal Zussman \u003ctz2294@columbia.edu\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nFixes: ae21c0c0ac56 (\"ext4: support uncached buffered I/O\")\nReviewed-by: Baokun Li \u003clibaokun@linux.alibaba.com\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261012-ext4-dontcache-complete-in-task-v1-1-6ac801557041@columbia.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "d4e9b9bb1e3848b139174c4fb268c3f19e707982",
      "tree": "c7570b0578c505fdb277e012a73adcf22ab7bf3e",
      "parents": [
        "18133865a11b834338372d0156d01856bd3ad5db"
      ],
      "author": {
        "name": "Tal Zussman",
        "email": "tz2294@columbia.edu",
        "time": "Mon Oct 12 13:17:42 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: don\u0027t advertise atomic writes for DAX inodes\n\next4_file_write_iter() hands DAX inodes to ext4_dax_write_iter() before\nany of the atomic write handling, and the DAX path neither checks\nIOCB_ATOMIC nor provides torn-write protection.\next4_inode_can_atomic_write() doesn\u0027t exclude DAX inodes, so on a device\nthat supported both DAX and atomic writes, statx() would advertise\natomic writes for such an inode and the VFS would let an RWF_ATOMIC\nwrite through to a plain DAX write.\n\nNo DAX-capable block device advertises atomic write limits today, so\nthis isn\u0027t reachable. When XFS gained its corresponding check, Ritesh\nHarjani suggested excluding DAX inodes in ext4 anyway [1], so that what\nis advertised matches what the write path can do. XFS does the same in\nxfs_inode_can_hw_atomic_write() and xfs_inode_can_sw_atomic_write().\n\nLink: https://lore.kernel.org/linux-ext4/87a54e4cdn.fsf@gmail.com/ [1]\nSigned-off-by: Tal Zussman \u003ctz2294@columbia.edu\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261012-ext4-atomic-no-fallback-v2-3-c4b30c60e500@columbia.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "18133865a11b834338372d0156d01856bd3ad5db",
      "tree": "a03874d84b2ed9ffae275eca493803bba8732ab6",
      "parents": [
        "a7fd013d368a4ae6480edcd12aa6827269011f9e"
      ],
      "author": {
        "name": "Tal Zussman",
        "email": "tz2294@columbia.edu",
        "time": "Mon Oct 12 13:17:41 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: never fall back to buffered I/O for atomic direct writes\n\next4_dio_write_iter() finishes a short direct write through the page\ncache. ext4_buffered_write_iter() now rejects IOCB_ATOMIC, so a short\natomic write would warn and then fail with -EOPNOTSUPP, as if atomic\nwrites were unsupported on the inode.\n\nThis came out of a block device fix [1], where an IOCB_ATOMIC direct\nwrite could complete short when only part of the buffer could be\npinned, with the rest going through the buffered fallback. Christoph\nHellwig noted that ext4 has the same fallback and only warns in it [2],\nand John Garry agreed it should reject the write instead [3].\n\nIn contrast to the block device, nothing reaches the branch on ext4\ntoday: iomap requires the mapping to cover the whole atomic write, a\nbuffer that can\u0027t be pinned in full fails in iomap before the bio is\nsubmitted, and a failed page cache invalidation returns -EAGAIN rather\nthan reaching the buffered fallback. A short atomic write is therefore\na bug, and neither a short count nor -EOPNOTSUPP is a valid result for\none. Fail the write with -EIO before the fallback, keeping the WARN()\nso any future bug is visible.\n\nLink: https://lore.kernel.org/linux-block/20260828-blkdev-fixes-v2-0-32f3f40cebed@columbia.edu/ [1]\nLink: https://lore.kernel.org/linux-block/20260907071217.GD934@lst.de/ [2]\nLink: https://lore.kernel.org/linux-block/a7752d1e-8ec1-44d1-a266-c287c315e8ab@oracle.com/ [3]\nSigned-off-by: Tal Zussman \u003ctz2294@columbia.edu\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261012-ext4-atomic-no-fallback-v2-2-c4b30c60e500@columbia.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "a7fd013d368a4ae6480edcd12aa6827269011f9e",
      "tree": "831e8cc0805fc2b5fb904597c9436dfd052a1bf7",
      "parents": [
        "79c818505d4a7bee51fb9a5c935e2fc9889c01c5"
      ],
      "author": {
        "name": "Tal Zussman",
        "email": "tz2294@columbia.edu",
        "time": "Mon Oct 12 13:17:40 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: reject atomic writes on inodes that can\u0027t do direct I/O\n\next4_dio_write_iter() falls back to buffered I/O when the inode can\u0027t do\ndirect I/O at all, i.e. journaled data, inline data or verity. That\nfallback runs before any atomic write handling, and\next4_buffered_write_iter() doesn\u0027t look at IOCB_ATOMIC, so an atomic\nwrite to such an inode is silently done as a plain buffered write with\nno torn-write protection.\n\next4_inode_can_atomic_write() makes it worse for journaled data by\nadvertising atomic writes for those inodes: statx() reports atomic write\nlimits and the file gets FMODE_CAN_ATOMIC_WRITE, so the write passes the\nVFS checks and reaches the fallback. This is reachable with\ndata\u003djournal, or with chattr +j on a nodelalloc mount. Inline data\ninodes don\u0027t have the extents flag and verity files can\u0027t be opened for\nwriting, so those are refused before ext4 sees the write, but the\nfallback would still accept them.\n\nReject IOCB_ATOMIC in ext4_buffered_write_iter(), next to the existing\nIOCB_NOWAIT rejection, so neither fallback into it can complete an\natomic write non-atomically. Also require ext4_dio_alignment() to be\nnonzero in ext4_inode_can_atomic_write(), so statx() stops advertising\natomic writes for these inodes and VFS refuses RWF_ATOMIC early. The\nruntime check is still needed, as the journal data flag can be changed\non an open file.\n\nFixes: b7987a7d69a4 (\"ext4: Support setting FMODE_CAN_ATOMIC_WRITE\")\nReported-by: Sashiko \u003csashiko-bot@kernel.org\u003e\nLink: https://sashiko.dev/#/patchset/20260909-ext4-atomic-no-fallback-v1-1-5a6b9539c002%40columbia.edu\nSigned-off-by: Tal Zussman \u003ctz2294@columbia.edu\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261012-ext4-atomic-no-fallback-v2-1-c4b30c60e500@columbia.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "79c818505d4a7bee51fb9a5c935e2fc9889c01c5",
      "tree": "5f8fc19a14e7d466c587fa83755ce007f4fad1d4",
      "parents": [
        "cd169c27f0ab7fb274c2ebedf23b0e56d66e4fa0"
      ],
      "author": {
        "name": "guolingxing",
        "email": "guolingxing@tju.edu.cn",
        "time": "Fri Oct 09 06:28:46 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: fix buffer_head leak in ext4_ind_map_blocks() error path\n\nWhen ext4_ind_map_blocks() is called with EXT4_GET_BLOCKS_CREATE on\na non-extent mapped inode of a filesystem with the bigalloc feature\nenabled, it fails with -EFSCORRUPTED via \u0027goto out\u0027.  However, at\nthis point ext4_get_branch() has already acquired buffer_head\nreferences for the chain of indirect blocks, which are stored in\nthe stack variable \u0027chain\u0027.  Since \u0027goto out\u0027 skips the cleanup\nloop that releases these references, they are leaked permanently\n(each failed allocation can leak up to 3 buffer_heads, and repeated\nallocation attempts keep pinning the corresponding pages in memory).\n\nJump to \u0027cleanup\u0027 instead, so that the chain of buffer_heads is\nproperly released before the error is returned.\n\nSigned-off-by: guolingxing \u003cguolingxing@tju.edu.cn\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261009062846.327298-1-guolingxing@tju.edu.cn\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "cd169c27f0ab7fb274c2ebedf23b0e56d66e4fa0",
      "tree": "9431aea710551e5fc364c8f90e722d9903415db9",
      "parents": [
        "79906e00636e7e7831489e9c6a53dad1ec7a3399"
      ],
      "author": {
        "name": "Daejun Park",
        "email": "daejun7.park@samsung.com",
        "time": "Thu Oct 08 10:25:37 2026 +0900"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: track zeroed out blocks of unwritten extents for fast commit\n\nWhen ext4_ext_convert_to_initialized() converts part of an unwritten\nextent, it may zero out the blocks before and after that range (a side\nonly if it fits together with the range in s_extent_max_zeroout_kb,\n32 KiB by default, and the extent ends within i_disksize or the write)\nand convert them to written together with it, instead of splitting them\noff. ext4_split_extent() zeroes out the rest of the extent and converts\nall of it when a split fails with -ENOSPC, -EDQUOT or -ENOMEM. In both\ncases ext4_map_blocks() reports only the mapped range to fast commit, so\nthe other converted blocks are not tracked.\n\nA later write to one of those blocks overwrites a written block in\nplace. That changes no mapping and is not tracked either, so the next\nfsync is a fast commit that logs the inode but no range for the block.\nAfter a crash, replay starts from the last full commit, where the block\nis still part of an unwritten extent, and the fsynced data reads back\nas zeroes. Fast commit tracks one [min, max] range per inode, so this\nshows only when no other block beyond the zeroed ones was tracked in\nthe same commit, which makes it easy to miss.\n\nThe first conversion runs when writes allocate through ext4_map_blocks()\nwith EXT4_GET_BLOCKS_CREATE, for example with -o nodelalloc,\n-o dioread_lock or DAX. On a 4 KiB block file system made with\n-O fast_commit and mounted with -o nodelalloc,commit\u003d60:\n\n  fallocate -l 32k f; sync      # blocks 0-7 unwritten\n  write block 0; fsync f        # zeroes out 1-7, tracks only 0\n  write block 2; fsync f        # in place, nothing tracked\n  crash (kill the VM), mount    # fast commit replay\n  block 2 reads back as zeroes\n\nTrack the range in ext4_issue_zeroout(), where the zeroes are written,\nonce the zeroout has succeeded. It takes the handle for that, and so\ndoes ext4_ext_zeroout(). The EXT4_GET_BLOCKS_CONVERT_UNWRITTEN zeroout\nin ext4_split_extent_zeroout() and the EXT4_GET_BLOCKS_ZERO one in\next4_map_create_blocks() zero out the mapped range, which\next4_map_blocks() tracks anyway.\next4_alloc_file_blocks() zeroes out without a handle and passes NULL:\next4_convert_unwritten_extents() right after it tracks the blocks it\nconverts through ext4_map_blocks(), and blocks that were already\nwritten keep their mapping. The callers with a handle hold i_data_sem,\nas fast commit tracking already does when ext4_ext_dirty() changes an\nextent kept in the inode (through ext4_mark_inode_dirty()).\n\nFixes: aa75f4d3daae (\"ext4: main fast-commit commit path\")\nCc: stable@vger.kernel.org\nSuggested-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Daejun Park \u003cdaejun7.park@samsung.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261008-ext4-fc-zeroout-v2-2-55cab1e24fa3@samsung.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "79906e00636e7e7831489e9c6a53dad1ec7a3399",
      "tree": "77dbbc4b21b8680ca18aede96de7b106a52d93b4",
      "parents": [
        "ff06f373c1d796f2c4f196c8bee9cd7ea5ee3c96"
      ],
      "author": {
        "name": "Daejun Park",
        "email": "daejun7.park@samsung.com",
        "time": "Thu Oct 08 10:25:36 2026 +0900"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: don\u0027t cache unzeroed blocks as written after a failed zeroout\n\next4_ext_convert_to_initialized() may zero out the blocks before and\nafter the range being written and convert them to written together with\nit, instead of splitting them off the unwritten extent. If\next4_ext_zeroout() fails for one side, it falls back to splitting the\nextent, so the blocks on that side stay unwritten in the extent tree.\nBut zero_ex1 or zero_ex2 keeps its length, and ext4_zeroout_es() still\ninserts those blocks into the extent status tree as written.\n\nUntil that entry goes away, a read of those blocks returns whatever was\non the disk before the extent was allocated. A write to them is mapped\nfrom the cache and goes in place without converting the extent, so its\ndata would read back as zeroes once the entry is dropped. To reproduce\non 4 KiB blocks with -o nodelalloc: fallocate 32 KiB, map the last seven\nblocks of that extent to dm-error, write the first block, restore the\nmapping and read the second block. It returns the old disk contents\ninstead of zeroes.\n\nClear the length of an extent that could not be zeroed out, so that\next4_zeroout_es() skips it, as the comment at the out label intends.\n\nFixes: 308c57ccf431 (\"ext4: if zeroout fails fall back to splitting the extent node\")\nCc: stable@vger.kernel.org\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Daejun Park \u003cdaejun7.park@samsung.com\u003e\nReviewed-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20261008-ext4-fc-zeroout-v2-1-55cab1e24fa3@samsung.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "ff06f373c1d796f2c4f196c8bee9cd7ea5ee3c96",
      "tree": "b1fa05d9f22b6fcf860a7455a63f4ad17f1b85e6",
      "parents": [
        "44d3b834bef881c7ee9d5454661d54e6a562c53e"
      ],
      "author": {
        "name": "Hsiu-Hsien Lee",
        "email": "swinds24@gmail.com",
        "time": "Wed Oct 07 12:08:29 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: don\u0027t fail journal recovery on an incomplete fast commit\n\nIf the system crashes while the first fast commit after a full commit is\nbeing written, the fast commit area can hold the head of that fast\ncommit without a valid tail.  ext4_fc_replay_scan() treats this as an\nerror as long as no valid tail has been seen: an invalid tag length or\nan unknown tag returns -ECANCELED, a tail with a wrong tid or checksum\nreturns -EFSBADCRC.  jbd2_journal_recover() then fails, the file system\ncan be mounted neither read-write nor read-only, and the regular journal\ntransactions committed before the fast commit are not replayed either:\n\n  JBD2: journal recovery failed\n  EXT4-fs (sdb): error loading journal\n\nThe tail is written last and fsync() does not return before it has\ncompleted, so an incomplete fast commit was never reported as durable.\nHandle it like jbd2 handles a transaction without a valid commit block:\nstop the scan and replay what is valid.  This is already what happens\nwhen an earlier fast commit in the area has a valid tail.\n\nReproducer, with the power cut emulated by copying the device while it\nis mounted:\n\n  mkfs.ext4 -O fast_commit /dev/sdb\n  mount /dev/sdb /mnt; mkdir /mnt/d\n  create 20 files in /mnt/d; sync\n  write a fragmented file and modify the 20 files, fsync one file\n      (one fast commit spanning several blocks)\n  copy /dev/sdb while still mounted, then zero the block holding the\n  fast commit tail in the copy\n  mount the copy\n\nWithout this patch the mount fails as above.  With it, the mount\nsucceeds, the state after sync is recovered and e2fsck finds no errors.\nThe same holds when a full commit precedes the torn fast commit, in\nwhich case the full commit is now replayed as well.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nSigned-off-by: Hsiu-Hsien Lee \u003cswinds24@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261007040829.2074386-1-swinds24@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "44d3b834bef881c7ee9d5454661d54e6a562c53e",
      "tree": "6f08b980981ac3c855c43d7c72943e4906bf5df0",
      "parents": [
        "543341eba8f4f2c6de0aa7b74b3c50dd2c5825b4"
      ],
      "author": {
        "name": "Daejun Park",
        "email": "daejun7.park@samsung.com",
        "time": "Wed Oct 07 09:41:31 2026 +0900"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:09 2026 -0500"
      },
      "message": "ext4: skip holes when shrinking the extent tree in fast commit replay\n\next4_ext_replay_shrink_inode() walks the extents of an inode from block\n0 up to the given end and tries to merge each one with its neighbours.\nWhen the walk is in a hole that follows an extent, ext4_find_extent()\nreturns that extent, and the walk moves on by a single block. Replay\ncalls it up to i_size after every ADD_RANGE and DEL_RANGE tag, so the\ntime recovery takes is proportional to the number of tags times the\nnumber of hole blocks below i_size.\n\nAfter a crash, mount can be busy for minutes. Replaying a single\nADD_RANGE tag, for one block written and fsynced in a sparse file with\na 1 TiB i_size, kept mount busy for 157 seconds. Replaying four fast\ncommits of a sparse file with 512 written regions (2048 ADD_RANGE tags,\nand 2044 DEL_RANGE tags for the gaps between them) took 44 seconds when\nthe file was 64 MiB and 177 seconds when it was 256 MiB. With this\nchange the 1 TiB case takes less than 0.1 seconds, and the other two 3\nseconds each.\n\nWhen the walk is in such a hole, continue at the next extent, as\nreturned by ext4_ext_next_allocated_block(), or stop if there is none.\nFor each block skipped this way, the old walk found the same extent\nagain and retried the same merges, so the resulting tree is the same.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nCc: stable@vger.kernel.org\nSigned-off-by: Daejun Park \u003cdaejun7.park@samsung.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261007-ext4-fc-replay-shrink-v1-1-0e45fc03030d@samsung.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "543341eba8f4f2c6de0aa7b74b3c50dd2c5825b4",
      "tree": "706707217908d28faaa416a12b048c933492d82c",
      "parents": [
        "474b6405c0f6a29ab3ae749647c2bc06970bff53"
      ],
      "author": {
        "name": "Daejun Park",
        "email": "daejun7.park@samsung.com",
        "time": "Wed Oct 07 09:41:09 2026 +0900"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "jbd2: don\u0027t start a fast commit while the journal is marked empty\n\njbd2_journal_flush() checkpoints everything, and\njbd2_mark_journal_empty() then writes the journal superblock with\ns_start \u003d\u003d 0 and the fast commit feature cleared. It sets JBD2_FLUSHED\nso that the next commit writes the log tail and the feature back, but\nonly jbd2_journal_commit_transaction() looks at that flag. A fast commit\nstarted before the next full commit writes its blocks while the\nsuperblock on disk still says the log is empty: jbd2_journal_recover()\nreturns at once and the fast commit is never replayed.\n\nOn ext4 with -O fast_commit this happens after ext4_freeze(), and after\na remount to read-only, which flushes the journal in\next4_mark_recovery_complete(), once the file system is read-write again.\nEXT4_IOC_CHECKPOINT and online resize flush it as well. An fsync that a\nfast commit handles after one of them is lost if the system crashes\nbefore the next full commit, which can be up to the commit interval\nlater:\n\n  mount -o commit\u003d60 (-O fast_commit file system)\n  echo first \u003e a; sync\n  fsfreeze -f; fsfreeze -u      # or: remount ro, then rw\n  write b; fsync b              # one fast commit, s_start still 0\n  crash (kill the VM), mount\n  b is missing\n\nRefuse to start a fast commit while JBD2_FLUSHED is set, as is already\ndone before the first full commit. ext4 then falls back to a full\ncommit, which writes the log tail, and the fast commits after it are\nrecovered again. fc_info counts the refused fast commit as ineligible,\nas it does for the existing check.\n\nFixes: ff780b91efe9 (\"jbd2: add fast commit machinery\")\nCc: stable@vger.kernel.org\nSigned-off-by: Daejun Park \u003cdaejun7.park@samsung.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261007-jbd2-fc-after-flush-v1-1-548bd91cd959@samsung.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "474b6405c0f6a29ab3ae749647c2bc06970bff53",
      "tree": "e843f5725440c2514cc1780fee408e3c77c91bc8",
      "parents": [
        "daa099ec5ce3fa863886588fbc8a9af1e351e368"
      ],
      "author": {
        "name": "Hengyu Liang",
        "email": "hengyul@cs.unc.edu",
        "time": "Tue Oct 06 07:15:46 2026 -0400"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "ext4: do not accept rec_len 0 for block sizes below 64k\n\nCommit afa6d5a16bf2 (\"ext4: remove PAGE_SIZE checks for rec_len\nconversion\") made ext4_rec_len_from_disk() read a rec_len of 0 as \"this\nentry covers the whole block\" for every block size.\n\nHowever, this special value only exists for block sizes of 64k and\nmore. With smaller blocks, a rec_len of 0 means that the directory\nblock is corrupted. As of now, a directory block that has been\noverwritten with zeroes is treated as an empty block. The kernel no\nlonger reports the corruption and can store new entries in that block,\nwhile e2fsck still reports the block as corrupted.\n\nThe issue can be reproduced on a file system without metadata_csum:\n\n    mke2fs -q -t ext4 -b 1024 -O ^metadata_csum,^dir_index img 8M\n    mount -o loop img /mnt\n    mkdir /mnt/d\n    for i in $(seq 100); do touch /mnt/d/file_with_a_long_name_$i; done\n    umount /mnt\n    dd if\u003d/dev/zero of\u003dimg bs\u003d1024 count\u003d1 conv\u003dnotrunc \\\n        seek\u003d$(debugfs -R \"bmap d 1\" img)\n    mount -o loop img /mnt\n    touch /mnt/d/new\n\nBefore commit afa6d5a16bf2 (\"ext4: remove PAGE_SIZE checks for rec_len\nconversion\"), the last command fails with \"Structure needs cleaning\".\nAfter that commit, it succeeds.\n\nThis patch makes ext4_rec_len_from_disk() return the on-disk value\nunchanged when the block size is below 64k, as e2fsprogs does.\n\nFixes: afa6d5a16bf2 (\"ext4: remove PAGE_SIZE checks for rec_len conversion\")\nCc: stable@vger.kernel.org\nSigned-off-by: Hengyu Liang \u003chengyul@cs.unc.edu\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nReviewed-by: Baokun Li \u003clibaokun@linux.alibaba.com\u003e\nLink: https://patch.msgid.link/20261006111546.3252481-1-hengyul@cs.unc.edu\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "daa099ec5ce3fa863886588fbc8a9af1e351e368",
      "tree": "10bc170928262abc18cf0f4dcbb8880e570a7329",
      "parents": [
        "b06e975bf451a3a90cec05693f0836f38cd398c8"
      ],
      "author": {
        "name": "Jan Kara",
        "email": "jack@suse.cz",
        "time": "Fri Oct 02 13:50:41 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "ext4: Fix maximum orphan file size check\n\nMikulas reported that e2fsprogs 1.47.4 with 1k fs blocksize by default\ncreates orphan file of the size the kernel rejects. This is because that\nversion of e2fsprogs creates 2MB file by default regardless of the block\nsize and with 1k blocks that\u0027s more than the limit of 512 fs blocks.\nFix the check to make kernel accept any file upto those 2MB regardless\nof the number of blocks.\n\nFixes: 7c11c56eb32e (\"ext4: align max orphan file size with e2fsprogs limit\")\nCC: stable@vger.kernel.org\nReported-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\nLink: https://lore.kernel.org/all/e65cdbfe-3ff9-4638-fbd3-4d8f8880966f@redhat.com\nSigned-off-by: Jan Kara \u003cjack@suse.cz\u003e\nTested-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\nReviewed-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\nReviewed-by: Baokun Li \u003clibaokun@linux.alibaba.com\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nLink: https://patch.msgid.link/20261002115040.2783654-2-jack@suse.cz\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "b06e975bf451a3a90cec05693f0836f38cd398c8",
      "tree": "0c5a7f94b505084aef4e368acd189a3115ad568b",
      "parents": [
        "020035ee8fea4b7ee0cac6197c4bc801c793d889"
      ],
      "author": {
        "name": "Qiliang Yuan",
        "email": "odys.yuan@gmail.com",
        "time": "Thu Oct 01 15:43:57 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "ext4: remove unused locked_ei parameter from __es_shrink()\n\n__es_shrink()\u0027s locked_ei parameter exists to let a caller pass in an\ninode it already holds i_es_lock on, so the shrinker walk can skip\nthat inode instead of deadlocking on write_trylock(), and fall back\nto reclaiming from it directly if nothing else could be freed. Its\nonly caller, ext4_es_scan(), always passes NULL.\n\nDrop the parameter along with the two code paths that exist solely to\nsupport it: the ei \u003d\u003d locked_ei skip check, and the trailing\nes_reclaim_extents(locked_ei, ...) fallback, neither of which can ever\nrun while locked_ei is always NULL.\n\nSigned-off-by: Qiliang Yuan \u003codys.yuan@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261001-fix-ext4-es-scan-nr-scanned-v4-2-b13703714ce2@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "020035ee8fea4b7ee0cac6197c4bc801c793d889",
      "tree": "b2fe732cd5de55dfca34c380a05dd38cab68d966",
      "parents": [
        "0bc15784860ec2c61ec7abd1ccba6e931ba830b6"
      ],
      "author": {
        "name": "Qiliang Yuan",
        "email": "odys.yuan@gmail.com",
        "time": "Thu Oct 01 15:43:56 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "ext4: fix shrinker scan budget accounting in ext4_es_scan()\n\ndo_shrink_slab() reads count_objects() once per invocation to derive\na one-shot scan budget, then calls scan_objects() repeatedly until\nthat budget is exhausted or scan_objects() returns SHRINK_STOP.\ninclude/linux/shrinker.h documents that scan_objects() \"should track\nits actual progress\" in sc-\u003enr_scanned, so do_shrink_slab() can tell\nwhen there is nothing left to examine and stop early.\n\next4_es_scan() never updates sc-\u003enr_scanned, so it defaults to the\nfull sc-\u003enr_to_scan on every call. do_shrink_slab() therefore always\nbelieves a full batch was examined, regardless of what __es_shrink()\nactually did, and keeps calling scan_objects() until the budget\nderived from the (possibly stale) percpu extent_status count is\ndrained, even after sbi-\u003es_es_list has nothing left to examine.\n\nMake __es_shrink() report the number of extent_status objects it\nactually examined through a new nr_scanned output parameter, derived\nfrom the existing per-extent nr_to_scan counter that\nes_reclaim_extents() already decrements as it walks the tree. Have\next4_es_scan() copy this into sc-\u003enr_scanned, and return SHRINK_STOP\nonce it comes back zero. Key this off nr_scanned rather than\nnr_shrunk: a batch that finds every extent still referenced\ncorrectly ages them without freeing any, and that is real progress\nnr_shrunk would miss.\n\nnr_scanned can come back zero for more than a genuinely empty list:\nes_stats_shk_cnt is a stale percpu count, an inode can be\nmomentarily skipped (precached, lock contended), or durably have\nnothing shrinkable (i_es_shk_nr \u003d\u003d 0) without es_reclaim_extents()\never touching nr_to_scan. Treat all of these alike: not stopping\ndoesn\u0027t help the transient cases either, since do_shrink_slab()\u0027s\nbudget only decrements by nr_scanned, so retrying forever at\nnr_scanned \u003d\u003d 0 never terminates.\n\nTested by fallocate(2)-ing 10000 4K files (to populate the shrinker\nwith reclaimable unwritten extents without also exercising the\nextent_status \"referenced\" second-chance path, which needs a\nseparate two-pass accounting of its own) and triggering\n\"echo 2 \u003e /proc/sys/vm/drop_caches\", while tracing the\next4_es_shrink* tracepoints:\n\n                      total scan_objects()   calls with\n                      calls                  nr_shrunk \u003d\u003d 0\n  before this patch   429                    189 (44%)\n  after this patch    239                      1 (0.4%)\n\nFixes: 1ab6c4997e04 (\"fs: convert fs shrinkers to new scan/count API\")\nCc: stable@vger.kernel.org\nSigned-off-by: Qiliang Yuan \u003codys.yuan@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261001-fix-ext4-es-scan-nr-scanned-v4-1-b13703714ce2@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "0bc15784860ec2c61ec7abd1ccba6e931ba830b6",
      "tree": "23ae34f15e6d6ff1c731212263e7823c620e039e",
      "parents": [
        "8d90b9ab0875a6a838125e4980c8c6ab4a021c0a"
      ],
      "author": {
        "name": "Qiliang Yuan",
        "email": "odys.yuan@gmail.com",
        "time": "Thu Oct 01 15:43:43 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "jbd2: fix shrinker scan budget accounting in jbd2_journal_shrink_scan()\n\ndo_shrink_slab() reads count_objects() once per invocation to derive\na one-shot scan budget, then calls scan_objects() repeatedly until\nthat budget is exhausted or scan_objects() returns SHRINK_STOP.\ninclude/linux/shrinker.h documents that scan_objects() \"should track\nits actual progress\" in sc-\u003enr_scanned, so do_shrink_slab() can tell\nwhen there is nothing left to examine and stop early.\n\njbd2_journal_shrink_scan() never updates sc-\u003enr_scanned, so it\ndefaults to the full sc-\u003enr_to_scan on every call. do_shrink_slab()\ntherefore always believes a full batch was examined, regardless of\nwhat jbd2_journal_shrink_checkpoint_list() actually did, and keeps\ncalling scan_objects() until the budget derived from the (possibly\nstale) percpu checkpoint count is drained, even after the checkpoint\nlist has already been fully drained.\n\njbd2_journal_shrink_checkpoint_list() already tracks examined\nbuffers accurately: it decrements its nr_to_scan in/out parameter\nfor every journal_head walked, whether or not it gets freed. Derive\nsc-\u003enr_scanned from the difference, and return SHRINK_STOP once it\ncomes back zero, since that only happens when the checkpoint list\nhad nothing left to walk. Key this off sc-\u003enr_scanned rather than\nnr_shrunk: a batch can find every buffer in its transactions busy\nand free none, while later transactions may still hold buffers\nwhose writeback has completed; sc-\u003enr_scanned reflects that real\nwork either way.\n\nTested by creating 20000 small files, running sync, and letting\ncheckpointing settle for a few seconds (with systemd-journald and\ncron stopped, since their own writes to the same filesystem keep\nre-populating the checkpoint list and mask the effect being\nmeasured), then triggering \"echo 2 \u003e /proc/sys/vm/drop_caches\" while\ntracing jbd2_shrink_scan_enter/exit:\n\n                      total scan_objects()   calls with\n                      calls                  nr_scanned \u003d\u003d 0\n  before this patch   22                     10 (45%)\n  after this patch     8                      1 (12%)\n\nFixes: 4ba3fcdde7e3 (\"jbd2,ext4: add a shrinker to release checkpointed buffers\")\nCc: stable@vger.kernel.org\nSigned-off-by: Qiliang Yuan \u003codys.yuan@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20261001-fix-jbd2-shrink-scan-nr-scanned-v5-1-5348b51efce2@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "8d90b9ab0875a6a838125e4980c8c6ab4a021c0a",
      "tree": "dfd69cf564779417334730404b839049900c60b7",
      "parents": [
        "40e53dad45a92e932156de23a69c991f3e2512c9"
      ],
      "author": {
        "name": "Jérémy Jean",
        "email": "Jeremy.Jean@oss.cyber.gouv.fr",
        "time": "Wed Sep 30 13:45:17 2026 +0000"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:08 2026 -0500"
      },
      "message": "ext4: save converted extent before merging\n\nIn ext4_split_convert_extents(), merging can release the leaf holding\nthe extent pointed to by ex. The later extent status cache update can\nthen dereference freed memory, causing a use-after-free. KASAN reports:\n\n  BUG: KASAN: use-after-free in ext4_split_convert_extents.constprop.0+0xb98/0xc80\n  Read of size 2 at addr ff11000002547034 by task fixture/65\n\nSave the converted extent before merging and use the copy for the cache\nupdate. This also avoids using the old extent slot after a merge with\nthe left neighbour.\n\nFixes: 716b9c23b862 (\"ext4: refactor split and convert extents\")\nCc: stable@kernel.org\nAssisted-by: LLM\nSigned-off-by: Jérémy Jean \u003cJeremy.Jean@oss.cyber.gouv.fr\u003e\nReviewed-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20260930134516.397754-2-Jeremy.Jean@oss.cyber.gouv.fr\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "40e53dad45a92e932156de23a69c991f3e2512c9",
      "tree": "f2753dcaf33f4b05b7ffbddeb6a838eb2588f9c5",
      "parents": [
        "f0a38eb3ebf925386ded88e642bd2c5b3d06534b"
      ],
      "author": {
        "name": "Christian Göttsche",
        "email": "cgzones@googlemail.com",
        "time": "Mon Sep 28 22:21:59 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "jbd2: set JBD2_LOADED under j_state_lock\n\nj_flags is protected by j_state_lock, with only quick racy checks done\nwithout it.  jbd2_journal_load() however sets JBD2_LOADED with a plain\nread-modify-write after journal_reset() has already started kjournald2,\nwhich tests and may update j_flags under the lock.  KCSAN reports this\nwhile mounting the root file system:\n\n  BUG: KCSAN: data-race in jbd2_journal_load / kjournald2\n\n  write to 0xffff9c6b012c6000 of 8 bytes by task 1 on cpu 3:\n   jbd2_journal_load+0x279/0x3c0\n   ext4_fill_super+0x34dc/0x5740\n   get_tree_bdev_flags+0x21d/0x340\n   ...\n  read to 0xffff9c6b012c6000 of 8 bytes by task 77 on cpu 0:\n   kjournald2+0xc8/0x3e0\n   kthread+0x1bd/0x200\n   ...\n\n  value changed: 0x00000000000000a8 -\u003e 0x00000000000000b8\n\nA concurrent update of another flag, e.g. JBD2_ABORT, could be lost.\nTake j_state_lock when setting JBD2_LOADED, like the other writers of\nj_flags do.\n\nFixes: 470decc613ab (\"[PATCH] jbd2: initial copy of files from jbd\")\nAssisted-by: Claude:claude-opus-5-5\nSigned-off-by: Christian Göttsche \u003ccgzones@googlemail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260928202159.2463182-1-cgoettsche@seltendoof.de\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "f0a38eb3ebf925386ded88e642bd2c5b3d06534b",
      "tree": "a95848f7a0d579f5543f4dc1497435e32ba7349b",
      "parents": [
        "eb63eca72747d85cc0ac3e7d8044bba77080a3f1"
      ],
      "author": {
        "name": "Ojaswin Mujoo",
        "email": "ojaswin@linux.ibm.com",
        "time": "Thu Sep 24 13:09:28 2026 +0530"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "ext4: Fix sparse warning in extents kunit test when EXT4_KUNIT_TESTS\u003dm\n\nWhen kunit tests are compiled as modules, the extents kunit test emits\na sparse warning:\n\n\u003e\u003e fs/ext4/extents-test.c:59:3: sparse: sparse: symbol \u0027k_ctx\u0027 was not\n   declared. Should it be static?\n\nFix this by declaring it as static.\n\nFixes: cb1e0c1d1fad (\"ext4: kunit tests for extent splitting and conversion\")\nReported-by: kernel test robot \u003clkp@intel.com\u003e\nCloses: https://lore.kernel.org/oe-kbuild-all/202609221900.Pgwrcp41-lkp@intel.com/\nReviewed-by: Baokun Li \u003clibaokun@linux.alibaba.com\u003e\nReviewed-by: Zhang Yi \u003cyi.zhang@huawei.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20260924073929.2594339-1-ojaswin@linux.ibm.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "eb63eca72747d85cc0ac3e7d8044bba77080a3f1",
      "tree": "2bdb53a3dbd7faec33c2d548827cfb6d69e174c7",
      "parents": [
        "e290c77088e6f829f7d1d88c915f2a2fb22241e6"
      ],
      "author": {
        "name": "Kaixuan Li",
        "email": "kaixuanli0131@gmail.com",
        "time": "Sat Sep 19 19:39:40 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "ext4: stop verify_reserved_gdb() one entry short of the block\n\nverify_reserved_gdb() walks the backup group list, reading one __le32 from\nthe reserved GDT block per iteration, and bounds the walk after the read:\n\n\tif (le32_to_cpu(*p++) !\u003d\n\t    grp * EXT4_BLOCKS_PER_GROUP(sb) + blk){\n\t\t...\n\t\treturn -EINVAL;\n\t}\n\tif (++gdbackups \u003e EXT4_ADDR_PER_BLOCK(sb))\n\t\treturn -EFBIG;\n\nThe block holds exactly EXT4_ADDR_PER_BLOCK(sb) entries, so when gdbackups\nreaches that value the test is false, the loop runs once more, and *p++\nreads one entry past the block before -EFBIG is returned. The same value is\nalso the largest gdbackups the function can return, and\nreserve_backup_gdb() then uses it as an index into a block of exactly that\nmany entries:\n\n\tdata \u003d (__le32 *)primary[i]-\u003eb_data;\n\tdata[gdbackups] \u003d cpu_to_le32(blk + primary[i]-\u003eb_blocknr);\n\nwhich writes one entry past. Comparing with \u003e\u003d stops the walk before the\nread and caps the return value one lower, which closes both.\n\nThe walk enumerates the groups ext4_list_backups() produces -- the powers\nof 3, 5 and 7 below the group being added -- so EXT4_ADDR_PER_BLOCK of\nthem, 256 at a 1K block size and 1024 at 4K, cannot occur within a 32-bit\ngroup number. The entry the old bound went on to read was therefore never a\nreal backup.\n\nSigned-off-by: Kaixuan Li \u003ckaixuanli0131@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260919113940.1823559-1-kaixuanli0131@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "e290c77088e6f829f7d1d88c915f2a2fb22241e6",
      "tree": "92d9c878ca48e8279159f88bf9a67d1a2a68e6b8",
      "parents": [
        "337c173f966c1fbb1aad6dfdf4243323e3b7e304"
      ],
      "author": {
        "name": "Zhao Gongyi",
        "email": "zhaogongyi@bytedance.com",
        "time": "Fri Sep 18 18:12:49 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "ext4: fix OOB memmove in ext4_xattr_set_entry\n\nA corrupted filesystem can leave an inode marked as having inline data\nwhile the system.data xattr is missing. ext4_destroy_inline_data_nolock()\nthen asks ext4_xattr_set_entry() to remove an entry even though\next4_xattr_ibody_find() left the search state at the insertion position.\n\nIn the syzkaller reproducer, the old xattr value offset is smaller than\nmin_offs. ext4_xattr_set_entry() then computes val - first_val for\nmemmove(), the length wraps to a huge size_t, and memmove() can run out of\nthe xattr buffer. This results in an out-of-bounds memmove and a kernel\npage fault.\n\nA crafted corrupted ext4 image can trigger this while inline data is being\nconverted out of the inode. Treat the inconsistent inline/xattr state as\nfilesystem corruption before updating the xattr entry.\n\nThe issue was found by syzkaller and reproduced with the generated C\nreproducer. The crash signature is:\n\n  BUG: unable to handle page fault for address: ffff8880074cf000\n  RIP: 0010:memmove+0x28/0x1b0\n  Call Trace:\n   ext4_xattr_set_entry+0xe2f/0x1e90 fs/ext4/xattr.c:1761\n   ext4_xattr_ibody_set+0x3d6/0x5d0 fs/ext4/xattr.c:2268\n   ext4_destroy_inline_data_nolock+0x288/0x5b0 fs/ext4/inline.c:467\n   ext4_convert_inline_data_nolock+0x178/0xe80 fs/ext4/inline.c:1222\n   ext4_convert_inline_data+0x52a/0x610 fs/ext4/inline.c:2083\n   ext4_fallocate+0x1a0/0x3ba0 fs/ext4/extents.c:4752\n\nReject the missing system.data xattr before destroying inline data, and\nvalidate the old value offset before ext4_xattr_set_entry() reaches the\nmemmove().\n\nThe crash was reproduced on unpatched 7.3.0-rc3 and 6.6.122 kernels. With\nthis fix applied to both versions, the same syzkaller C reproducer ran for\n120 seconds without triggering KASAN, Oops, a memmove fault, or panic.\n\nFixes: 67cf5b09a46f (\"ext4: add the basic function for inline data support\")\nCc: stable@vger.kernel.org # v3.8+\nSigned-off-by: Zhao Gongyi \u003czhaogongyi@bytedance.com\u003e\nLink: https://patch.msgid.link/20260918101249.43643-1-zhaogongyi@bytedance.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "337c173f966c1fbb1aad6dfdf4243323e3b7e304",
      "tree": "0164004f3b3faad27539d8f80263ec2e400ce626",
      "parents": [
        "3b9f870a75492c1704448cd27ec13781948033ed"
      ],
      "author": {
        "name": "Yichong Chen",
        "email": "chenyichong@uniontech.com",
        "time": "Fri Sep 18 18:12:40 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "ext4: don\u0027t free the tmp_inode tree after a partial migration swap\n\next4_ext_migrate() cleans up the temporary inode when\next4_ext_swap_inode_data() fails:\n\n\tretval \u003d ext4_ext_swap_inode_data(handle, inode, tmp_inode);\n\tif (retval)\n\t\tfree_ext_block(handle, tmp_inode);\n\next4_ext_swap_inode_data() switches the inode to extents and copies the\ntree root into it before it frees the old indirect block map, so it can\nreturn an error after the swap has already happened.  The copied root\npoints at index blocks that tmp_inode allocated, and free_ext_block()\nwalks that same tree and frees them, leaving the migrated inode with a\ntree node that the block bitmap considers free.\n\nOnly free the tmp_inode tree when the inode has not been switched to\nextents, which is exactly the case where the swap did not happen.\n\nFixes: c14c6fd5c56a (\"ext4: Add EXT4_IOC_MIGRATE ioctl\")\nSigned-off-by: Yichong Chen \u003cchenyichong@uniontech.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260918101240.3721805-1-chenyichong@uniontech.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "3b9f870a75492c1704448cd27ec13781948033ed",
      "tree": "ee3ccc35404b104906bf27768e048c918d887503",
      "parents": [
        "489b444770b16cfdde86e10c05766da976a57928"
      ],
      "author": {
        "name": "Deepanshu Kartikey",
        "email": "kartikey406@gmail.com",
        "time": "Fri Sep 18 06:35:58 2026 +0530"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:07 2026 -0500"
      },
      "message": "ext4: add bounds check for e_value_offs in ext4_read_inline_data\n\next4_read_inline_data() reads the location of an inline data xattr\nvalue directly from entry-\u003ee_value_offs without validating it against\nthe actual bounds of the inode\u0027s xattr area. A corrupted filesystem\nimage can set e_value_offs to an out-of-range value, causing the\nsubsequent memcpy() to read from an address far outside the inode\nbuffer, including memory that has already been freed and reused for\nsomething else. This mirrors the check already performed in\next4_xattr_ibody_get(), which is missing here.\n\nAdd a bounds check on the computed source pointer against the end of\nthe inode\u0027s xattr area before the memcpy, and reject the read with\n-EFSCORRUPTED if it would go out of bounds.\n\nFixes: 67cf5b09a46f (\"ext4: add the basic function for inline data support\")\nReported-by: syzbot+085a394c92518a04fd09@syzkaller.appspotmail.com\nCloses: https://syzkaller.appspot.com/bug?extid\u003d085a394c92518a04fd09\nTested-by: syzbot+085a394c92518a04fd09@syzkaller.appspotmail.com\nSigned-off-by: Deepanshu Kartikey \u003ckartikey406@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260918010558.8210-1-kartikey406@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "489b444770b16cfdde86e10c05766da976a57928",
      "tree": "f53e1c38924270fc024d577421f0094985b37130",
      "parents": [
        "addc6c34e5aec1ee279d820b3468718adda38040"
      ],
      "author": {
        "name": "lty",
        "email": "781735889@qq.com",
        "time": "Thu Sep 17 11:28:33 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4: propagate errors from fast commit create replay\n\nDuring fast-commit replay, ext4_fc_replay_create() can fail while\nlooking up the parent directory, initializing a new directory, or\ndirtying the replayed inode.  The parent lookup error jumps to the\ncleanup path while ret is still zero.  Errors from ext4_init_new_dir()\nare explicitly converted to zero, and the return value from\next4_mark_inode_dirty() is ignored.\n\nConsequently, replay can report success and mount the filesystem even\nthough the directory creation was not completely replayed.  A failed\nparent lookup, for example, leaves an unconnected directory inode.\n\nPropagate these errors so journal recovery aborts rather than completing\nwith inconsistent metadata.\n\nTested with QEMU fast-commit directory replay and injected failures in\nthe parent lookup, directory initialization, and inode dirtying paths.\nBefore the change, recovery completed and e2fsck reported an unconnected\ndirectory inode or inconsistent inode metadata.  With the change, JBD2\nreports recovery failure and the mount fails in all three cases.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nCc: stable@vger.kernel.org\nSigned-off-by: lty \u003c781735889@qq.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/tencent_46A95D4281B70962D6EC1D523A85C448DC09@qq.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "addc6c34e5aec1ee279d820b3468718adda38040",
      "tree": "d6cc3987e9b32048715dbb0e1d7c509a813e1519",
      "parents": [
        "180354ab292fae2d0448df3ea61ba9ebf1e9f3bc"
      ],
      "author": {
        "name": "Manuel Ebner",
        "email": "manuelebnerli@mailbox.org",
        "time": "Wed Sep 16 12:42:52 2026 +0200"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4, doc: remove unnecessary bracket\n\nFix sentence structure to improve readability\n\nSigned-off-by: Manuel Ebner \u003cmanuelebnerli@mailbox.org\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nCC: Randy Dunlap \u003crdunlap@infradead.org\u003e\nAcked-by: Randy Dunlap \u003crdunlap@infradead.org\u003e\nLink: https://patch.msgid.link/20260916104251.296148-3-manuelebnerli@mailbox.org\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "180354ab292fae2d0448df3ea61ba9ebf1e9f3bc",
      "tree": "5b1d732f9cc43b2735c6b503730e501fbf581c79",
      "parents": [
        "2c1c8c412bb801c12cd6931ff626e64c45ec9c15"
      ],
      "author": {
        "name": "Matthias Goergens",
        "email": "matthias.goergens@gmail.com",
        "time": "Wed Sep 16 15:10:46 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4: drop extra ea_inode ref in cached-block reuse path\n\next4_xattr_block_set() takes a reference on the ea_inode via\next4_xattr_inode_lookup_create() before it builds the new xattr block.\nThe new-block path drops that reference once\next4_xattr_inode_inc_ref_all() has counted every entry in the block.\nWhen a separately built block is discarded in favour of an identical\ncached block, the cached block already counts its entries and the\nlookup reference is left unbalanced.\n\nEach affected reuse leaks one on-disk reference, and the ea_inode and\nits data blocks stay allocated after the last xattr referring to them\nis gone.  Setting the same xattr on two files is enough when the value\nneeds an EA inode and the entry does not fit in the inode body: the\nsecond set reuses the first file\u0027s block and leaves the ea_inode at\nrefcount 2, and removing the xattr from both files leaves it at 1.\n\nDrop the reference when the entry was not written into the old block in\nplace.  new_bh !\u003d bs-\u003ebh is not the right test: the in-place path can\nreach \u0027inserted\u0027 and match a different cached block, and there the\nreference belongs to the old block and ext4_xattr_release_block() drops\nit, so dropping it here too would under-count.  Conversely, new_bh \u003d\u003d\nbs-\u003ebh with a cloned s-\u003ebase (re-setting an unchanged external value on\na shared block) leaks the reference as well, so the check follows both\nbranches.\n\nIf the decrement fails the filesystem is already broken: report the\nerror and return it without rolling back, putting and clearing ea_inode\nfirst so that cleanup does not retry the decrement.  The reused block\nkeeps its incremented refcount and its block quota charge; e2fsck\ncorrects the refcount.\n\nFound by the Sashiko AI review bot while reviewing commit 54b6bd40898d\n(\"ext4: stop retrying saturated xattr cache entries\"):\nhttps://sashiko.dev/#/patchset/20260802065941.1726052-1-matthias.goergens@gmail.com?part\u003d1\n\nFixes: 0a46ef234756 (\"ext4: do not create EA inode under buffer lock\")\nCc: stable@vger.kernel.org\nSigned-off-by: Matthias Goergens \u003cmatthias.goergens@gmail.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260916071046.2182813-1-matthias.goergens@gmail.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "2c1c8c412bb801c12cd6931ff626e64c45ec9c15",
      "tree": "1611e7c0723cd97a4cfa9b694b532e1effb5835f",
      "parents": [
        "4a5cc4d1a7f0b22fef7e42e6fbedd4c41ff7ac77"
      ],
      "author": {
        "name": "lty",
        "email": "781735889@qq.com",
        "time": "Tue Sep 15 18:29:22 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4: propagate errors from fast commit bitmap rebuild\n\next4_fc_set_bitmaps_and_counters() rebuilds block bitmaps for modified\ninodes during fast-commit replay. When ext4_map_blocks() fails, the helper\nstops scanning but previously returned success. Errors from\next4_find_extent() were also discarded, so replay continued after an\nincomplete bitmap rebuild.\n\nReturn errors from the helper and propagate them through both replay call\nsites so journal recovery aborts when bitmap reconstruction fails.\n\nTesting: With CONFIG_EXT4_DEBUG, QEMU fast-commit replay was run using a\ntemporary fault injection that forced -EIO in the bitmap rebuild mapping\ncall. The unmodified kernel reported recovery complete and mounted the\nfilesystem; the patched kernel reported journal recovery failure and mount\nreturned EIO. Built fs/ext4/fast_commit.o and a complete x86 bzImage.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nCc: stable@vger.kernel.org\nSigned-off-by: lty \u003c781735889@qq.com\u003e\nLink: https://patch.msgid.link/tencent_B320F7091730E06C02BAB57D87B0CE363107@qq.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "4a5cc4d1a7f0b22fef7e42e6fbedd4c41ff7ac77",
      "tree": "b73740b6f61c420458f9cbd59ebc4418a2927fa3",
      "parents": [
        "b28443aa879b2b5aefe8fb5b3f9b65c31233f5d7"
      ],
      "author": {
        "name": "lty",
        "email": "781735889@qq.com",
        "time": "Tue Sep 15 09:58:28 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4: propagate errors from fast commit block cleanup\n\next4_ext_clear_bb() stops scanning when ext4_map_blocks() fails, but it\nreturns success to its caller. It also ignores failures from extent lookup\nand replay-region allocation. ext4_fc_replay_inode() ignores the helper\nresult and continues replay with stale block bitmap accounting.\n\nPropagate all cleanup errors from ext4_ext_clear_bb() and abort inode\nreplay when cleanup fails.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nCc: stable@vger.kernel.org\nTesting: QEMU fast-commit replay with an injected -EIO at the\next4_ext_clear_bb() mapping call. The unpatched kernel completed recovery\nand e2fsck reported a free-block count mismatch; the patched kernel aborted\nrecovery with EIO. Also built the ext4 target objects with the expanded\nerror paths.\n\nSigned-off-by: lty \u003c781735889@qq.com\u003e\nLink: https://patch.msgid.link/tencent_FBD69AA6034FE7AF98BC3B90CB1EF012C106@qq.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "b28443aa879b2b5aefe8fb5b3f9b65c31233f5d7",
      "tree": "087c6d872a7b71308ec47c4cfe0e65b556d55462",
      "parents": [
        "263f338d312a7a57ce50591142e743e5782c628f"
      ],
      "author": {
        "name": "lty",
        "email": "781735889@qq.com",
        "time": "Tue Sep 15 09:57:46 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:06 2026 -0500"
      },
      "message": "ext4: propagate errors from fast commit i_blocks replay\n\next4_ext_replay_set_iblocks() breaks out of its mapping loop when\next4_map_blocks() fails, but then continues with a partial block count\nand unconditionally returns success. The fast commit replay caller also\nignores the helper return value.\n\nStop the count immediately on mapping errors, leave i_blocks unchanged,\nand propagate the failure to abort inode replay.\n\nFixes: 8016e29f4362 (\"ext4: fast commit recovery path\")\nSigned-off-by: lty \u003c781735889@qq.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/tencent_ECF4DA918377A7A0D8863B860B0F3025C106@qq.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\n"
    },
    {
      "commit": "263f338d312a7a57ce50591142e743e5782c628f",
      "tree": "cf880cdcf92a813d1bbdce9640cdce8b22c9b3d0",
      "parents": [
        "4e04e396207027060055119ed45925bc89843a12"
      ],
      "author": {
        "name": "shuo chen",
        "email": "1289151713@qq.com",
        "time": "Tue Sep 15 00:41:44 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:29:00 2026 -0500"
      },
      "message": "ext4: fix WARNING in ext4_journalled_invalidate_folio\n\nCall the ext4_wait_for_tail_page_commit() helper before\next4_truncate_failed_write() from ext4_journalled_write_end(),\nwhich avoids invalidating the folio while it is being committed.\n\nCloses: https://lore.kernel.org/linux-ext4/CA+0ovCgxFN3TLpdS_O_Z48sARuQ-WR-JLDCqQWEmd9ELtkzddA@mail.gmail.com/T/\nSuggested-by: Jan Kara \u003cjack@suse.cz\u003e\nReported-by: Farhad Alemi \u003cfarhad.alemi@berkeley.edu\u003e\nSigned-off-by: shuo chen \u003c1289151713@qq.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/tencent_87F5A404ED65B0B1349C60E830C485716705@qq.com\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nCc: stable@kernel.org\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "4e04e396207027060055119ed45925bc89843a12",
      "tree": "ca78fbccab0833039ea78dd34677a77425835626",
      "parents": [
        "2a837444e911ae75e24e71b1c2a32b6d6e1ef8b9"
      ],
      "author": {
        "name": "Yichong Chen",
        "email": "chenyichong@uniontech.com",
        "time": "Mon Sep 14 16:25:16 2026 +0800"
      },
      "committer": {
        "name": "Theodore Ts\u0027o",
        "email": "tytso@mit.edu",
        "time": "Mon Nov 23 15:28:52 2026 -0500"
      },
      "message": "ext4: fix the logical block counter overflow in indirect migration\n\nupdate_tind_extent_range() advances lb-\u003ecurr_block, an ext4_lblk_t, by\nmax_entries * max_entries for every empty triple-indirect slot.  One\ntriple-indirect block spans max_entries^3 logical blocks, which exceeds\n2^32 as soon as the block size is 8K or larger (16384^3 \u003d 2^42 with 64K\nblocks), so the counter wraps while that block is walked.\n\nA wrapped counter makes the migration store a block number that is 2^32\nblocks away from the one the pointer block describes.  Two ranges can then\nend up with the same ee_block, which trips\nBUG_ON(newext-\u003eee_block \u003d\u003d nearex-\u003eee_block) in ext4_ext_insert_extent(),\nand without that collision the data is still moved to the wrong logical\nblock while the migration reports success.\n\nKeep the counter in 64 bit so that it cannot wrap, and refuse the\nmigration with -EOPNOTSUPP once a data block would land on EXT_MAX_BLOCKS\nor beyond: an extent may not cover that block, because\next4_valid_extent() rejects a wrapping ee_block + ee_len, and only a\ncorrupt block map has data there.\n\nFixes: c14c6fd5c56a (\"ext4: Add EXT4_IOC_MIGRATE ioctl\")\nSigned-off-by: Yichong Chen \u003cchenyichong@uniontech.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nLink: https://patch.msgid.link/20260914082516.3442815-1-chenyichong@uniontech.com\nCc: stable@kernel.org\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\n"
    },
    {
      "commit": "b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f",
      "tree": "f7f02239c74a4579cfd1355c3bbad8879c97dc96",
      "parents": [
        "6e4122f0242a3262512ee3e6f2e7e6de0bd5792b"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 14:57:40 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 14:57:40 2026 -0800"
      },
      "message": "Linux 7.4-rc4\n"
    },
    {
      "commit": "6e4122f0242a3262512ee3e6f2e7e6de0bd5792b",
      "tree": "a37df5c2ff880f39c19ebba816896508a8895544",
      "parents": [
        "2681617eb9317444247380298564f58142fc4ff8",
        "82838789646f9f5881dd1c8b3a3c960ee2a28772"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 13:39:53 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 13:39:53 2026 -0800"
      },
      "message": "Merge tag \u0027perf-tools-fixes-for-v7.4-1-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools\n\nPull perf tools fixes from Arnaldo Carvalho de Melo:\n\n - perf record: skip affinity for per-thread mmap buffers and reject CPU\n   indices at the mask size, avoiding out-of-bounds bitmap accesses.\n\n - perf test: use software events for system-wide tests, mark the LBR\n   test exclusive, and fix probe_vfs_getname debuginfo detection via a\n   dry run.\n\n - perf build: add -lzstd to the libbfd feature fallback for static\n   binutils, and pass OUTPUT explicitly when building internal\n   libraries.\n\n - perf trace beauty: split the KVM ioctl table by direction so read and\n   write ioctls sharing a number no longer conflict at build time.\n\n - perf kvm: fix arm64 VM-exit duration accounting by pairing kvm_exit\n   with the following kvm_entry as the end event.\n\n - perf hist: use each branch\u0027s own cycle count for the sample weight\n   instead of the first branch\u0027s, fixing multi-entry branch stacks.\n\n - perf jevents: don\u0027t encode MSRs with no value, avoiding unset ldlat\n   values in the affected Intel latency events.\n\n - perf vendor events arm64 AmpereOneX: deprecate the old event name so\n   scripts using it keep working while the renamed event is listed.\n\n - perf intel-bts and intel-pt: free the old snapshot reference array\n   when it grows past sixteen mappings, avoiding a leak.\n\n - perf timechart and treport: initialize inherited attributes in their\n   constructors, avoiding pylint warnings without Textual.\n\n - perf tools: fix sync-headers generated commit messages to use longer\n   SHAs and drop hunk headers that checkpatch mistakes for diff content.\n\n - Sync the tools/ copies of gfp_types.h, gfp.h, KVM, sound/asound.h,\n   msr-index.h, cpufeatures.h and if_addr.h with the kernel sources.\n\n* tag \u0027perf-tools-fixes-for-v7.4-1-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (23 commits)\n  perf record: Skip affinity for per-thread mmap buffers\n  perf jevents: Don\u0027t encode MSRs with no value\n  perf record: Reject CPU indices equal to the mask size\n  perf test: Don\u0027t starve per-process tests with system-wide events\n  perf test probe_vfs_getname: Fix missing debuginfo detection\n  perf build: Add explicitly sequenced -lzstd to libbfd feature fallback\n  tools build: Add explicitly sequenced -lzstd to libbfd feature fallback\n  perf vendor events arm64 AmpereOneX: Deprecate BPU_FLUSH_MEM_FAULT\n  perf hist: Fix branch_info index for sample weight\n  perf timechart: Initialize Textual attributes in constructors\n  perf treport: Initialize the subtitle in the constructor\n  perf intel-bts: Free the old snapshot reference array after growing it\n  perf intel-pt: Free the old snapshot reference array after growing it\n  perf kvm: Fix arm64 VM-exit duration accounting\n  perf build: Override OUTPUT when building internal libraries\n  perf tools: Fix the sync-headers generated commit messages\n  tools headers: Sync linux/gfp_types.h with the kernel sources\n  tools headers: Sync KVM headers with the kernel sources\n  perf trace beauty: Split the KVM ioctl table by direction\n  tools headers: Sync UAPI sound/asound.h with the kernel sources\n  ...\n"
    },
    {
      "commit": "2681617eb9317444247380298564f58142fc4ff8",
      "tree": "da4b8c13e8a3d89c10dc103808946be5d06f72de",
      "parents": [
        "1fadec005439186c67ca7be35c4e90727bc38fae",
        "fc91dacd0c2b4f9ca7e0ce30016f5aee6256cba5"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:50:24 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:50:24 2026 -0800"
      },
      "message": "Merge tag \u0027riscv-for-linus-7.4-rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux\n\nPull RISC-V fixes from Paul Walmsley:\n\n - Fix a bug in the context switch code that can allow the switched-to\n   task to inadvertently inherit the supervisor user memory access\n   privilege from the switched-from task\n\n - Protect the regs-\u003estatus RMW sequences in the vector register context\n   switch code, to fix a potential floating point state corruption bug\n\n - Fix the return values from the early boot unaligned access speed\n   detection functions called by __setup() to return 0 on failure,\n   rather than an error code, as 0 is what __setup() expects to receive\n   upon an error\n\n - Prevent the DTB from being potentially overwritten early in boot by\n   reserving it in memblock before scanning the /reserved-memory section\n   of the DTB\n\n - Fix hugetlb vmemmap optimization and a few other code paths that map\n   kernel pages as read-only by defining PAGE_KERNEL_RO\n\n - Fix an error path in kgdb_riscv_notify() to add a missing\n   local_irq_restore()\n\n - Fix the RISC-V defconfig to enable heap randomization by default by\n   removing CONFIG_COMPAT_BRK, which shouldn\u0027t have been there in the\n   first place; and to enable building onboard USB hub support as a\n   module to better support the SpacemiT K1\n\n - Fix CONFIG_RISCV_ISA_SV{48,57} to depend on CONFIG_MMU, since they\n   are virtual memory configuration options that by definition require\n   MMU support\n\n - Fix a missing space in the SpacemiT K1 DTS file\n\n* tag \u0027riscv-for-linus-7.4-rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:\n  riscv: mm: reserve the DTB before scanning reserved memory\n  riscv: unaligned: fix __setup handlers\n  riscv: dts: spacemit: k1: Correct missing space\n  riscv: defconfig: enable onboard USB hub support\n  riscv: signal: protect regs-\u003estatus RMW from concurrent preemption\n  riscv: mm: Define PAGE_KERNEL_RO\n  riscv: kgdb: Fix potential missing local_irq_restore() call\n  riscv: RISCV_ISA_SV48 and RISCV_ISA_SV57 should depend on MMU\n  riscv: defconfig: Disable COMPAT_BRK\n  riscv: Fix SR_SUM leakage across context switches\n"
    },
    {
      "commit": "1fadec005439186c67ca7be35c4e90727bc38fae",
      "tree": "79b9cea900991ce46fbd970c8876ed65271a5794",
      "parents": [
        "fdcd45bc9cfee488b92efc4b7f43d6865ec82770",
        "a088b092a8962db62327690ae2d0d68827e81229"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:28:46 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:28:46 2026 -0800"
      },
      "message": "Merge tag \u0027edac_urgent_for_v7.4_rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras\n\nPull EDAC fix from Borislav Petkov:\n\n - Fix an array out-of-bounds access in i5000_edac\n\n* tag \u0027edac_urgent_for_v7.4_rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:\n  EDAC/i5000: Fix slot number passed to determine_mtr()\n"
    },
    {
      "commit": "fdcd45bc9cfee488b92efc4b7f43d6865ec82770",
      "tree": "ae5515bb1854a424ebc3adb35725b26843089330",
      "parents": [
        "7adedc3fb0e8a32a8fd7028b1c5547e8a92c512c",
        "6008a6e34ca0446739abfff189902af2214cfff1"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:26:34 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:26:34 2026 -0800"
      },
      "message": "Merge tag \u0027spi-fix-v7.4-rc3\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi\n\nPull spi fixes from Mark Brown:\n \"One core fix here, for error handling with runtime PM when a transfer\n  fails. That was seen by a couple of people on actual systems and the\n  fix verified.\n\n  There\u0027s also a fix for a quirk in the fsl-lpspi driver which needs a\n  bitfield widening on newer chips to work properly\"\n\n* tag \u0027spi-fix-v7.4-rc3\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:\n  spi: fsl-lpspi: expand FCR TWATER and RXWATER bit fields to 4 bits\n  spi: Fix runtime PM imbalance on pump transfer message error\n"
    },
    {
      "commit": "7adedc3fb0e8a32a8fd7028b1c5547e8a92c512c",
      "tree": "76ef3ae26492af994c8555aaf926e8c0aa39889e",
      "parents": [
        "2dc60bd9975fc8666a13d58410499e06e6799ba9",
        "b544ca82abb46f2f870d32b3d7cae6ff9d9d1311"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:24:48 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 12:24:48 2026 -0800"
      },
      "message": "Merge tag \u0027regulator-fix-v7.4-rc3\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator\n\nPull regulator fixes from Mark Brown:\n \"A few fairly routine fixes for device specific issues, incorrect\n  information about the hardware and one case where some of the hardware\n  register access needs more serialisation\"\n\n* tag \u0027regulator-fix-v7.4-rc3\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:\n  regulator: mt6363: Serialize BUCK_TOP key access\n  regulator: axp20x: AXP313A: set ramp_delay\n  regulator: tps65132: Fix incorrect bits for VNEG/VPOS discharge\n"
    },
    {
      "commit": "2dc60bd9975fc8666a13d58410499e06e6799ba9",
      "tree": "652b49b6791d1676a9f4240fdc209f2ac5574d3b",
      "parents": [
        "69712157c9f40ac806fa0448ac56475eae40957f",
        "73bdf8773de4af2c2b7f49370191ae6d5aeddea5"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 10:12:27 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 10:12:27 2026 -0800"
      },
      "message": "Merge tag \u0027rust-fixes-7.4-4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux\n\nPull Rust fixes from Miguel Ojeda:\n \"Toolchain and infrastructure:\n\n   - Disable function merging in all cases to fix broken MODVERSIONS\n     information with gendwarfksyms, wrong backtraces and possibly\n     issues with pahole/BTF due to lost debug information.\n\n   - x86: emit the expected \u0027cs\u0027 prefix for RETPOLINE builds by passing\n     the \u0027-Zindirect-branch-cs-prefix\u0027 flag we added to \u0027rustc\u0027, which\n     fixes boot failures (with \u0027spectre_v2\u003dretpoline,lfence\u0027) and code\n     corruption (with paranoid FineIBT).\n\n   - Fix objtool warnings for the upcoming Rust 1.101.0 (expected\n     2026-12-24) by adding more \u0027noreturn\u0027 functions.\n\n  \u0027kernel\u0027 crate:\n\n   - \u0027str\u0027 module: fix soundness issue in \u0027Formatter::new()\u0027 by tying\n     the returned formatter to the lifetime of its backing buffer.\n\n   - \u0027iov\u0027 module: fix soundness issue in \u0027copy_from_iter_raw()\u0027 by\n     tying the returned slice to the lifetime of the output buffer.\n\n     I suggested upstream Rust to introduce a lint for this case of the\n     lifetime elision rule, to avoid repeating this sort of mistake\"\n\n* tag \u0027rust-fixes-7.4-4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:\n  kbuild: rust: disable function merging unconditionally\n  rust: str: tie Formatter to its backing buffer\n  rust: iov: fix return lifetime of `copy_from_iter_raw()`\n  x86/rust: use `-Zindirect-branch-cs-prefix` for RETPOLINE builds\n  objtool/rust: add more `noreturn` Rust functions for Rust 1.101.0\n"
    },
    {
      "commit": "69712157c9f40ac806fa0448ac56475eae40957f",
      "tree": "c1035ed1983d5b867eadee9a08ae2908892b572e",
      "parents": [
        "2b12a0eed7a039da244963af32e1f3ab4f1dc5ea",
        "e9c14351f84f2ddf4aae2914979c0378bc14460a"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 09:21:57 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 09:21:57 2026 -0800"
      },
      "message": "Merge tag \u0027parisc-for-7.4-rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux\n\nPull parisc fixes from Helge Deller:\n \"Fix a register corruption with the 32-bit dynamic ftrace, and\n  prevent a lockdep assertion failure in the timer tick\"\n\n* tag \u0027parisc-for-7.4-rc4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:\n  parisc: Fix register corruption in 32-bit dynamic ftrace\n  parisc: irq: Trace hardirq state in do_cpu_irq_mask()\n"
    },
    {
      "commit": "2b12a0eed7a039da244963af32e1f3ab4f1dc5ea",
      "tree": "4479f1cbf89ab8c7534755b4ffe277599bdfc988",
      "parents": [
        "7aafce4af6537d2202301a0319a4150e8d97eade",
        "ae3398a7da224e1cb14a04ce8e9da66fc2948121"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 08:46:44 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 08:46:44 2026 -0800"
      },
      "message": "Merge tag \u0027x86-urgent-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull x86 fixes from Ingo Molnar:\n\n - Add Intel Coral Rapids and Razor Lake CPU models (Tony Luck)\n\n - Update the table of Intel SNC capable CPU models with\n   Granite Rapids \"D\" CPUs (Tony Luck)\n\n - Fix MSI interrupt affinity configuration (Weitao Wang)\n\n - Do not treat cache hierarchy MCE errors as memory errors,\n   to fix false offlining of healthy RAM pages (Adrian Schlegel)\n\n - Enable ROX also when CONFIG_STRICT_KERNEL_RWX is present\n   (Richard Weinberger)\n\n* tag \u0027x86-urgent-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  x86/Kconfig: Enable ROX also when STRICT_KERNEL_RWX is present\n  x86/mce: Do not treat cache hierarchy errors as memory errors\n  x86/apic/msi: Fix MSI interrupt affinity configuration\n  x86/resctrl: Add SNC support for Granite Rapids \"D\" CPU\n  x86/cpu: Add Intel Coral Rapids and Razor Lake CPU models\n"
    },
    {
      "commit": "7aafce4af6537d2202301a0319a4150e8d97eade",
      "tree": "105473a72e7fcfd6fb63c3bbb1bf6cc8e96f1165",
      "parents": [
        "abbf2945b788939e4df50d6f0c750409c1959960",
        "342fe98c34311969950fa58a840fd0b95a16c9dd"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 08:41:50 2026 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Nov 22 08:41:50 2026 -0800"
      },
      "message": "Merge tag \u0027sched-urgent-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull scheduler fixes from Ingo Molnar:\n\n - Fix cfs_rq::idle handling (Peter Zijlstra)\n\n - Avoid transient double accounting for delayed tasks (K Prateek Nayak)\n\n - Lift cgroup update locking to core to fix sched-ext locking\n   divergence (Michal Blaszczyk)\n\n* tag \u0027sched-urgent-2026-11-22\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  sched: Lift cgroup update locking to core to prevent CFS/SCX divergence\n  sched/fair: Avoid transient double accounting for delayed tasks\n  sched/fair: Make cfs_rq::idle the sum of ancestor tg::idle\n  sched/fair: Use guard in sched_group_set_idle()\n"
    }
  ],
  "next": "abbf2945b788939e4df50d6f0c750409c1959960"
}
