)]}'
{
  "commit": "32a4e169039927bfb6ee9f0ccbbe3a8aaf13a4bc",
  "tree": "7b1ab68ce63b91cd828e103f827f0bc76b930b36",
  "parents": [
    "127393fbe597dd85863a9bdccaa11007e7d4948f"
  ],
  "author": {
    "name": "Dan Streetman",
    "email": "ddstreet@ieee.org",
    "time": "Thu May 05 16:22:23 2016 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu May 05 17:38:53 2016 -0700"
  },
  "message": "mm/zswap: provide unique zpool name\n\nInstead of using \"zswap\" as the name for all zpools created, add an\natomic counter and use \"zswap%x\" with the counter number for each zpool\ncreated, to provide a unique name for each new zpool.\n\nAs zsmalloc, one of the zpool implementations, requires/expects a unique\nname for each pool created, zswap should provide a unique name.  The\nzsmalloc pool creation does not fail if a new pool with a conflicting\nname is created, unless CONFIG_ZSMALLOC_STAT is enabled; in that case,\nzsmalloc pool creation fails with -ENOMEM.  Then zswap will be unable to\nchange its compressor parameter if its zpool is zsmalloc; it also will\nbe unable to change its zpool parameter back to zsmalloc, if it has any\nexisting old zpool using zsmalloc with page(s) in it.  Attempts to\nchange the parameters will result in failure to create the zpool.  This\nchanges zswap to provide a unique name for each zpool creation.\n\nFixes: f1c54846ee45 (\"zswap: dynamic pool creation\")\nSigned-off-by: Dan Streetman \u003cddstreet@ieee.org\u003e\nReported-by: Sergey Senozhatsky \u003csergey.senozhatsky@gmail.com\u003e\nReviewed-by: Sergey Senozhatsky \u003csergey.senozhatsky@gmail.com\u003e\nCc: Dan Streetman \u003cdan.streetman@canonical.com\u003e\nCc: Minchan Kim \u003cminchan@kernel.org\u003e\nCc: \u003cstable@vger.kernel.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": "91dad80d068b75de629105ec0e688ce16335e16f",
      "old_mode": 33188,
      "old_path": "mm/zswap.c",
      "new_id": "de0f119b1780b2af14d6bf6868f0a8da0f1ee236",
      "new_mode": 33188,
      "new_path": "mm/zswap.c"
    }
  ]
}
