)]}'
{
  "commit": "885928e9f3b041465bd6bbb272b1b45978e64fb5",
  "tree": "cf548cbd20f0fa93b47a4cff0edb413e948fd846",
  "parents": [
    "a5cada089c497a0689a5a8a8cbf03563530f242c"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Sun Aug 02 16:20:02 2015 -0400"
  },
  "committer": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Sun Aug 02 16:20:02 2015 -0400"
  },
  "message": "blkcg: use CGROUP_WEIGHT_* scale for io.weight on the unified hierarchy\n\ncgroup is trying to make interface consistent across different\ncontrollers.  For weight based resource control, the knob should have\nthe range [1, 10000] and default to 100.  This patch updates\ncfq-iosched so that the weight range conforms.  The internal\ncalculations have enough range and the widening of the weight range\nshouldn\u0027t cause any problem.\n\n* blkcg_policy-\u003ecpd_bind_fn() is added.  If present, this is invoked\n  when blkcg is attached to a hierarchy.\n\n* cfq_cpd_init() is updated to use the new default value on the\n  unified hierarchy.\n\n* cfq_cpd_bind() callback is implemented to clear per-blkg configs and\n  apply the default config matching the hierarchy type.\n\n* cfqd-\u003eroot_group-\u003e[leaf_]weight initialization in cfq_init_queue()\n  is moved into !CONFIG_CFQ_GROUP_IOSCHED block.  cfq_cpd_bind() is\n  now responsible for initializing the initial weights when blkcg is\n  enabled.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Vivek Goyal \u003cvgoyal@redhat.com\u003e\nCc: Arianna Avanzini \u003cavanzini.arianna@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee6ce34703d74fb73cb95a235f9c177b79718836",
      "old_mode": 33188,
      "old_path": "Documentation/cgroups/unified-hierarchy.txt",
      "new_id": "bd319f0c677b3be0bf52fc4085a7899e8333e1cf",
      "new_mode": 33188,
      "new_path": "Documentation/cgroups/unified-hierarchy.txt"
    },
    {
      "type": "modify",
      "old_id": "88bdb73bd5e0028933c71841372f5cbb63ac9d42",
      "old_mode": 33188,
      "old_path": "block/blk-cgroup.c",
      "new_id": "ac8370cb25157d2ed1cd215f8b95edde0735e3de",
      "new_mode": 33188,
      "new_path": "block/blk-cgroup.c"
    },
    {
      "type": "modify",
      "old_id": "0fe721eaff2823284d2a90a249a4534983ad5316",
      "old_mode": 33188,
      "old_path": "block/cfq-iosched.c",
      "new_id": "04de88463a986384b54fa57593d2c89e7189e95c",
      "new_mode": 33188,
      "new_path": "block/cfq-iosched.c"
    },
    {
      "type": "modify",
      "old_id": "9a7c4bd45fff031e784a935a30995c73fbce0d1e",
      "old_mode": 33188,
      "old_path": "include/linux/blk-cgroup.h",
      "new_id": "0a5cc7a1109b9b2c655020c6c849960506f1cbc6",
      "new_mode": 33188,
      "new_path": "include/linux/blk-cgroup.h"
    }
  ]
}
