)]}'
{
  "commit": "936688d7eb0f39be96c5791be1a04994cc8d6aa0",
  "tree": "4001f52284d39f5353174096e76b357f52ee2fb7",
  "parents": [
    "283a8328ca5b987e547848de8ff0e28edcfb9e08"
  ],
  "author": {
    "name": "Mike Snitzer",
    "email": "snitzer@redhat.com",
    "time": "Tue Aug 02 12:32:01 2011 +0100"
  },
  "committer": {
    "name": "Alasdair G Kergon",
    "email": "agk@redhat.com",
    "time": "Tue Aug 02 12:32:01 2011 +0100"
  },
  "message": "dm table: fix discard support\n\nRemove \u0027discards_supported\u0027 from the dm_table structure.  The same\ninformation can be easily discovered from the table\u0027s target(s) in\ndm_table_supports_discards().\n\nBefore this fix dm_table_supports_discards() would skip checking the\nindividual targets\u0027 \u0027discards_supported\u0027 flag if any one target in the\ntable didn\u0027t set num_discard_requests \u003e 0.  Now the per-target\n\u0027discards_supported\u0027 flag is effective at insuring the final DM device\nadvertises discard support.  But, to be clear, targets that don\u0027t\nsupport discards (!num_discard_requests) will not receive discard\nrequests.\n\nAlso DMWARN if a target sets \u0027discards_supported\u0027 override but forgets\nto set \u0027num_discard_requests\u0027.\n\nSigned-off-by: Mike Snitzer \u003csnitzer@redhat.com\u003e\nSigned-off-by: Alasdair G Kergon \u003cagk@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bfe9c2333ceacecddd00d058615fc8a9f2867b1b",
      "old_mode": 33188,
      "old_path": "drivers/md/dm-table.c",
      "new_id": "3909fa259f5537035ba63b277cc23a25fee3b1f0",
      "new_mode": 33188,
      "new_path": "drivers/md/dm-table.c"
    },
    {
      "type": "modify",
      "old_id": "41abc6dd481b29ec82d87289471f409dffe2bf22",
      "old_mode": 33188,
      "old_path": "drivers/md/dm.c",
      "new_id": "aeb0fa1ccfe4ede8357441a04cc5c5f67825f5e9",
      "new_mode": 33188,
      "new_path": "drivers/md/dm.c"
    }
  ]
}
