)]}'
{
  "commit": "cf5eba53346fbfdf1b80e05ca3fd7fe2ec841077",
  "tree": "22e24ce02de0ddd1c7a1113a59f0cac157aa9dab",
  "parents": [
    "151e76590f66f5406eb2e1f4270c5323f385d2e8"
  ],
  "author": {
    "name": "David Woodhouse",
    "email": "dwmw2@infradead.org",
    "time": "Sun May 14 04:06:24 2006 +0100"
  },
  "committer": {
    "name": "David Woodhouse",
    "email": "dwmw2@infradead.org",
    "time": "Sun May 14 04:06:24 2006 +0100"
  },
  "message": "[JFFS2] Reduce excessive node count for syslog files.\n\nWe currently get fairly poor behaviour with files which get many short\nwrites, such as system logs. This is because we end up with many tiny\ndata nodes, and the rbtree gets massive. None of these nodes are\nactually obsolete, so they are counted as \u0027clean\u0027 space. Eraseblocks can\nbe entirely full of these nodes (which are REF_NORMAL instead of\nREF_PRISTINE), and still they count entirely towards \u0027used_size\u0027 and the\neraseblocks can sit on the clean_list for a long time without being\npicked for GC.\n\nOne way to alleviate this in the long term is to account REF_NORMAL\nspace separately from REF_PRISTINE space, rather than counting them both\ntowards used_size. Then these eraseblocks can be picked for GC and the\noffending nodes will be garbage collected.\n\nThe short-term fix, though -- which probably makes sense even if we do\neventually implement the above -- is to merge these nodes as they\u0027re\nwritten. When we write the last byte in a page, write the _whole_ page.\nThis obsoletes the earlier nodes in the page _immediately_ and we don\u0027t\neven need to wait for the garbage collection to do it.\n\nOriginal implementation from Ferenc Havasi \u003chavasi@inf.u-szeged.hu\u003e\nSigned-off-by: David Woodhouse \u003cdwmw2@infradead.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f4171213e58b2d4105152e78a8627c688e37633",
      "old_mode": 33188,
      "old_path": "fs/jffs2/file.c",
      "new_id": "3349db0a7863f16047b24ddfe9bc051deee2ec84",
      "new_mode": 33188,
      "new_path": "fs/jffs2/file.c"
    }
  ]
}
