)]}'
{
  "commit": "d7603b7e3a7f802c67f9190b2387d4d5d111ec14",
  "tree": "7fc644f33bd6d77156387f8acddd65030b1a817d",
  "parents": [
    "0eb3ff12aa8a12538ef681dc83f4361636a0699f"
  ],
  "author": {
    "name": "NeilBrown",
    "email": "neilb@suse.de",
    "time": "Fri Jan 06 00:20:30 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Fri Jan 06 08:34:05 2006 -0800"
  },
  "message": "[PATCH] md: make /proc/mdstat pollable\n\nWith this patch it is possible to poll /proc/mdstat to detect arrays appearing\nor disappearing, to detect failures, recovery starting, recovery completing,\nand devices being added and removed.\n\nIt is similar to the poll-ability of /proc/mounts, though different in that:\n\nWe always report that the file is readable (because face it, it is, even if\nonly for EOF).\n\nWe report POLLPRI when there is a change so that select() can detect\nit as an exceptional event.  Not only are these exceptional events, but\nthat is the mechanism that the current \u0027mdadm\u0027 uses to watch for events\n(It also polls after a timeout).\n(We also report POLLERR like /proc/mounts).\n\nFinally, we only reset the per-file event counter when the start of the file\nis read, rather than when poll() returns an event.  This is more robust as it\nmeans that an fd will continue to report activity to poll/select until the\nprogram clearly responds to that activity.\n\nmd_new_event takes an \u0027mddev\u0027 which isn\u0027t currently used, but it will be soon.\n\nSigned-off-by: Neil Brown \u003cneilb@suse.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1364a1c97e6f5f64dc6cb0be0686d343e97334af",
      "old_mode": 33188,
      "old_path": "drivers/md/md.c",
      "new_id": "6101879a730f537c26d2ed4ea8e74ae5e5e58ebc",
      "new_mode": 33188,
      "new_path": "drivers/md/md.c"
    }
  ]
}
