)]}'
{
  "commit": "abdaaf3810727d7eca8e16a38c8c07011061c021",
  "tree": "2ce47cd9f18bc8f4e547cd84b8a015364a1c3811",
  "parents": [
    "5262602406665b6083011415598c3b19ed26e392"
  ],
  "author": {
    "name": "He Gao",
    "email": "hegao@google.com",
    "time": "Fri Nov 14 01:03:37 2025 +0000"
  },
  "committer": {
    "name": "Cloud Image Release",
    "email": "cloud-image-release@prod.google.com",
    "time": "Fri Nov 14 13:31:40 2025 -0800"
  },
  "message": "ext4: fallback to complex scan if aligned scan doesn\u0027t work\n\nUpstream commit 1f6bc02f18489b9c9ea39b068d0695fb0e4567e9\n\nCurrently in case the goal length is a multiple of stripe size we use\next4_mb_scan_aligned() to find the stripe size aligned physical blocks.\nIn case we are not able to find any, we again go back to calling\next4_mb_choose_next_group() to search for a different suitable block\ngroup. However, since the linear search always begins from the start,\nmost of the times we end up with the same BG and the cycle continues.\n\nWith large fliesystems, the CPU can be stuck in this loop for hours\nwhich can slow down the whole system. Hence, until we figure out a\nbetter way to continue the search (rather than starting from beginning)\nin ext4_mb_choose_next_group(), lets just fallback to\next4_mb_complex_scan_group() in case aligned scan fails, as it is much\nmore likely to find the needed blocks.\n\nBUG\u003db/460112343\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dBackported an upstream commit to fix high CPU usage when\ntrying to find suitable blocks in ext4 fs.\n\ncos-patch: bug\nChange-Id: Ia75bd4fb2e49182542d83a2eabc142d8cc984cb1\nSigned-off-by: Ojaswin Mujoo \u003cojaswin@linux.ibm.com\u003e\nReviewed-by: Jan Kara \u003cjack@suse.cz\u003e\nSigned-off-by: Theodore Ts\u0027o \u003ctytso@mit.edu\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/118206\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/118301\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c5f642096ab4ecae6f96a4ca787c969fade7cc6d",
      "old_mode": 33188,
      "old_path": "fs/ext4/mballoc.c",
      "new_id": "4e158a26716e50e90848415d326486233c7d18cc",
      "new_mode": 33188,
      "new_path": "fs/ext4/mballoc.c"
    }
  ]
}
