)]}'
{
  "commit": "b0814361a25cba73a224548843ed92d8ea78715a",
  "tree": "9c9c269d564efa33f2d3a6eebfd6f5a51db2e970",
  "parents": [
    "0473976c3568cbe7ef4b4af5c134960cb7bb2779"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Tue Nov 05 08:09:51 2019 -0800"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "axboe@kernel.dk",
    "time": "Wed Nov 06 17:08:38 2019 -0700"
  },
  "message": "blkcg: make blkcg_print_stat() print stats only for online blkgs\n\nblkcg_print_stat() iterates blkgs under RCU and doesn\u0027t test whether\nthe blkg is online.  This can call into pd_stat_fn() on a pd which is\nstill being initialized leading to an oops.\n\nThe heaviest operation - recursively summing up rwstat counters - is\nalready done while holding the queue_lock.  Expand queue_lock to cover\nthe other operations and skip the blkg if it isn\u0027t online yet.  The\nonline state is protected by both blkcg and queue locks, so this\nguarantees that only online blkgs are processed.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nReported-by: Roman Gushchin \u003cguro@fb.com\u003e\nCc: Josef Bacik \u003cjbacik@fb.com\u003e\nFixes: 903d23f0a354 (\"blk-cgroup: allow controllers to output their own stats\")\nCc: stable@vger.kernel.org # v4.19+\nSigned-off-by: Jens Axboe \u003caxboe@kernel.dk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5d21027b1faf03b1a16bcd38b8670657c9f02380",
      "old_mode": 33188,
      "old_path": "block/blk-cgroup.c",
      "new_id": "1eb8895be4c6b8bb17d49022583d2ee411336e94",
      "new_mode": 33188,
      "new_path": "block/blk-cgroup.c"
    }
  ]
}
