)]}'
{
  "commit": "140b5e59119a172a91b5fa13d54ca4f79bbefee1",
  "tree": "ebc04fbd143756d7ef80e870cd9ae214d2607047",
  "parents": [
    "f2dfc1a12bb1a029df62b018a8e1882e91041025"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Wed Dec 12 12:21:52 2007 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jeff@garzik.org",
    "time": "Mon Dec 17 20:43:28 2007 -0500"
  },
  "message": "libata: fix ATAPI draining\n\nWith ATAPI transfer chunk size properly programmed, libata PIO HSM\nshould be able to handle full spurious data chunks.  Also, it\u0027s a good\nidea to suppress trailing data warning for misc ATAPI commands as\nthere can be many of them per command - for example, if the chunk size\nis 16 and the drive tries to transfer 510 bytes, there can be 31\ntrailing data messages.\n\nThis patch makes the following updates to libata ATAPI PIO HSM\nimplementation.\n\n* Make it drain full spurious chunks.\n\n* Suppress trailing data warning message for misc commands.\n\n* Put limit on how many bytes can be drained.\n\n* If odd, round up consumed bytes and the number of bytes to be\n  drained.  This gets the number of bytes to drain right for drivers\n  which do 16bit PIO.\n\nThis patch is partial backport of improve-ATAPI-data-xfer patchset\npending for #upstream.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nSigned-off-by: Jeff Garzik \u003cjeff@garzik.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4af939a00e5456206a24c41f9f253f7a3b17d1ab",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "4753a1831dbc483b874a8efed0e9da8adf3f7869",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "cb91280be9bd7504a2325fce2b0b53cec62331c4",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "124033cb5e9bf6c6540a83f7b696852912d75913",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
