)]}'
{
  "commit": "cace1d15106fb680967dc884bfd5e0db0c4c032a",
  "tree": "ef5114141e8a1d35afa12e3eb2e0e3139a5309f6",
  "parents": [
    "42ef372521a0cc414de805ebcc6c5e9d044231bf"
  ],
  "author": {
    "name": "Sergey Senozhatsky",
    "email": "sergey.senozhatsky@gmail.com",
    "time": "Mon Apr 07 15:38:15 2014 -0700"
  },
  "committer": {
    "name": "jrior001",
    "email": "jriordan001@gmail.com",
    "time": "Thu Mar 12 23:29:05 2015 -0400"
  },
  "message": "zram: add set_max_streams knob\n\nThis patch allows to change max_comp_streams on initialised zcomp.\n\nIntroduce zcomp set_max_streams() knob, zcomp_strm_multi_set_max_streams()\nand zcomp_strm_single_set_max_streams() callbacks to change streams limit\nfor zcomp_strm_multi and zcomp_strm_single, accordingly.  set_max_streams\nfor single steam zcomp does nothing.\n\nIf user has lowered the limit, then zcomp_strm_multi_set_max_streams()\nattempts to immediately free extra streams (as much as it can, depending\non idle streams availability).\n\nNote, this patch does not allow to change stream \u0027policy\u0027 from single to\nmulti stream (or vice versa) on already initialised compression backend.\n\nSigned-off-by: Sergey Senozhatsky \u003csergey.senozhatsky@gmail.com\u003e\nAcked-by: Minchan Kim \u003cminchan@kernel.org\u003e\nCc: Jerome Marchand \u003cjmarchan@redhat.com\u003e\nCc: Nitin Gupta \u003cngupta@vflare.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c06f75f547186a36346a1b89052c67aac0bbc81f",
      "old_mode": 33188,
      "old_path": "drivers/block/zram/zcomp.c",
      "new_id": "ac276f79f21ce3ff44b7b619b91dd7423479f4eb",
      "new_mode": 33188,
      "new_path": "drivers/block/zram/zcomp.c"
    },
    {
      "type": "modify",
      "old_id": "2a36844461606a4f6616a37d81ada10f7d89d905",
      "old_mode": 33188,
      "old_path": "drivers/block/zram/zcomp.h",
      "new_id": "bd11d59c5dd161dfdd4bc69fb23b5dcd806836c8",
      "new_mode": 33188,
      "new_path": "drivers/block/zram/zcomp.h"
    },
    {
      "type": "modify",
      "old_id": "abac11ae7da3803046fb6d3e333992756e836607",
      "old_mode": 33188,
      "old_path": "drivers/block/zram/zram_drv.c",
      "new_id": "ee06a14714ae876da5aaa8f6fb7b730f29aa6090",
      "new_mode": 33188,
      "new_path": "drivers/block/zram/zram_drv.c"
    }
  ]
}
