)]}'
{
  "commit": "2ee78e96ca1894cbfe00eff1e4ff24a93215337f",
  "tree": "deae3b380b3e6ec902f562171ce41e6da18b83c1",
  "parents": [
    "a189779c2e65bb2c6f800e4ba86a8a7eb09d66d6"
  ],
  "author": {
    "name": "Yingjie Wang",
    "email": "x-professor@outlook.com",
    "time": "Mon Nov 30 16:17:15 2026 +0000"
  },
  "committer": {
    "name": "Mikulas Patocka",
    "email": "mpatocka@redhat.com",
    "time": "Mon Nov 30 22:03:10 2026 +0100"
  },
  "message": "dm zoned: fix the search for the secondary superblock\n\nIf the primary superblock of a volume formatted with dmzadm is\ncorrupted, dmz_lookup_secondary_sb() fails to find the valid secondary\none in two cases:\n\n - After the first iteration, sb[1].block is advanced to the next zone,\n   but sb[1].zone is set to the zone that was just examined.  Unless\n   the superblock is in the first zone that is searched, dmz_check_sb()\n   then rejects it because it does not appear to be in the right zone.\n   With 256 MiB zones, this affects volumes larger than about 8.8 TB,\n   which need more than one zone per metadata set:\n\n     Invalid superblock position (is 131072 expected 65536)\n\n - The number of random zones is used as the limit.  With multiple\n   devices, the metadata is on the cache device instead, and nothing is\n   searched at all if the zoned devices have no random zones.  Commit\n   b38c0ad57f8e (\"dm zoned: Fix metadata zone size check\") fixed the\n   same problem in dmz_check_sb().\n\nSet the block and the zone together at the start of each iteration, and\nuse the number of cache zones if there are multiple devices.\n\nThis depends on the previous patch, which rejects superblocks that must\nnot be used for recovery.\n\nFixes: a92fbc446d1a (\"dm zoned: convert to xarray\")\nFixes: 34f5affd04c4 (\"dm zoned: separate random and cache zones\")\nCc: stable@vger.kernel.org\nSigned-off-by: Yingjie Wang \u003cx-professor@outlook.com\u003e\nSigned-off-by: Mikulas Patocka \u003cmpatocka@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "91cc8d28e52422f35835cc25ae325d5f31004bc2",
      "old_mode": 33188,
      "old_path": "drivers/md/dm-zoned-metadata.c",
      "new_id": "687573bbc091fa488206752f3e866f057993bbe3",
      "new_mode": 33188,
      "new_path": "drivers/md/dm-zoned-metadata.c"
    }
  ]
}
