)]}'
{
  "commit": "31ba99d304494cb28fa8671ccc769c5543e1165d",
  "tree": "ea2d839fb70798cf6a3b55ccc87f749e14e14f1d",
  "parents": [
    "8fba10a42d191de612e60e7009c8f0313f90a9b3"
  ],
  "author": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Nov 19 18:10:53 2009 +0000"
  },
  "committer": {
    "name": "David Howells",
    "email": "dhowells@redhat.com",
    "time": "Thu Nov 19 18:10:53 2009 +0000"
  },
  "message": "SLOW_WORK: Allow the owner of a work item to determine if it is queued or not\n\nAdd a function (slow_work_is_queued()) to permit the owner of a work item to\ndetermine if the item is queued or not.\n\nThe work item is counted as being queued if it is actually on the queue, not\njust if it is pending.  If it is executing and pending, then it is not on the\nqueue, but will rather be put back on the queue when execution finishes.\n\nThis permits a caller to quickly work out if it may be able to put another,\ndependent work item on the queue behind it, or whether it will have to wait\ntill that is finished.\n\nThis can be used by CacheFiles to work out whether the creation a new object\ncan be immediately deferred when it has to wait for an old object to be\ndeleted, or whether a wait must take place.  If a wait is necessary, then the\nslow-work thread can otherwise get blocked, preventing the deletion from\ntaking place.\n\nSigned-off-by: David Howells \u003cdhowells@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f120238e70fe6a8776d872163277549e39b2a8e0",
      "old_mode": 33188,
      "old_path": "Documentation/slow-work.txt",
      "new_id": "0169c9d9dd164c00790f4fd64da0fbc903577719",
      "new_mode": 33188,
      "new_path": "Documentation/slow-work.txt"
    },
    {
      "type": "modify",
      "old_id": "f41485145ed10e901199342e681b6f4369fd230c",
      "old_mode": 33188,
      "old_path": "include/linux/slow-work.h",
      "new_id": "bfd3ab4c8898882fb499a4796394a0ad850391d3",
      "new_mode": 33188,
      "new_path": "include/linux/slow-work.h"
    }
  ]
}
