)]}'
{
  "commit": "aa85f48dfc55b50ffffefa0a7125bfbe6b7224be",
  "tree": "1aeb40a83bdd8ca6db446e60969833856b4b196e",
  "parents": [
    "65484682b1b0d20845ece7567dfb9c918b816c8c"
  ],
  "author": {
    "name": "Damien Le Moal",
    "email": "dlemoal@kernel.org",
    "time": "Wed Dec 31 18:40:07 2025 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Thu Jan 08 10:14:58 2026 +0100"
  },
  "message": "block: freeze queue when updating zone resources\n\n[ Upstream commit bba4322e3f303b2d656e748be758320b567f046f ]\n\nModify disk_update_zone_resources() to freeze the device queue before\nupdating the number of zones, zone capacity and other zone related\nresources. The locking order resulting from the call to\nqueue_limits_commit_update_frozen() is preserved, that is, the queue\nlimits lock is first taken by calling queue_limits_start_update() before\nfreezing the queue, and the queue is unfrozen after executing\nqueue_limits_commit_update(), which replaces the call to\nqueue_limits_commit_update_frozen().\n\nThis change ensures that there are no in-flights I/Os when the zone\nresources are updated due to a zone revalidation. In case of error when\nthe limits are applied, directly call disk_free_zone_resources() from\ndisk_update_zone_resources() while the disk queue is still frozen to\navoid needing to freeze \u0026 unfreeze the queue again in\nblk_revalidate_disk_zones(), thus simplifying that function code a\nlittle.\n\nFixes: 0b83c86b444a (\"block: Prevent potential deadlock in blk_revalidate_disk_zones()\")\nCc: stable@vger.kernel.org\nSigned-off-by: Damien Le Moal \u003cdlemoal@kernel.org\u003e\nReviewed-by: Christoph Hellwig \u003chch@lst.de\u003e\nReviewed-by: Johannes Thumshirn \u003cjohannes.thumshirn@wdc.com\u003e\nReviewed-by: Chaitanya Kulkarni \u003ckch@nvidia.com\u003e\nReviewed-by: Hannes Reinecke \u003chare@suse.de\u003e\nReviewed-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: Jens Axboe \u003caxboe@kernel.dk\u003e\n[ adapted blk_mq_freeze_queue/unfreeze_queue calls to single-argument void API ]\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "60ba23d205808fb663ea171465bb34d184958d28",
      "old_mode": 33188,
      "old_path": "block/blk-zoned.c",
      "new_id": "aac5ae9292b60a5248b1fcc1fa7f078d272d9b9b",
      "new_mode": 33188,
      "new_path": "block/blk-zoned.c"
    }
  ]
}
