)]}'
{
  "commit": "dde2020754aeb14e17052d61784dcb37f252aac2",
  "tree": "1b6d57c6eff2024fd13e4b3b115d0a6770d8cb80",
  "parents": [
    "db0a2e0099be3a1cff55879225881465f16c67d3"
  ],
  "author": {
    "name": "James Bottomley",
    "email": "James.Bottomley@HansenPartnership.com",
    "time": "Tue Feb 19 11:36:56 2008 +0100"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "jens.axboe@oracle.com",
    "time": "Tue Feb 19 11:36:56 2008 +0100"
  },
  "message": "libata: eliminate the home grown dma padding in favour of\n\nthat provided by the block layer\n\nATA requires that all DMA transfers begin and end on word boundaries.\nBecause of this, a large amount of machinery grew up in ide to adjust\nscatterlists on this basis.  However, as of 2.5, the block layer has a\ndma_alignment variable which ensures both the beginning and length of a\nDMA transfer are aligned on the dma_alignment boundary.  Although the\nblock layer does adjust the beginning of the transfer to ensure this\nhappens, it doesn\u0027t actually adjust the length, it merely makes sure\nthat space is allocated for transfers beyond the declared length.  The\nupshot of this is that scatterlists may be padded to any size between\nthe actual length and the length adjusted to the dma_alignment safely\nknowing that memory is allocated in this region.\n\nRight at the moment, SCSI takes the default dma_aligment which is on a\n512 byte boundary.  Note that this aligment only applies to transfers\ncoming in from user space.  However, since all kernel allocations are\nautomatically aligned on a minimum of 32 byte boundaries, it is safe to\nadjust them in this manner as well.\n\ntj: * Adjusting sg after padding is done in block layer.  Make libata\n      set queue alignment correctly for ATAPI devices and drop broken\n      sg mangling from ata_sg_setup().\n    * Use request-\u003eraw_data_len for ATAPI transfer chunk size.\n    * Killed qc-\u003eraw_nbytes.\n    * Separated out killing qc-\u003en_iter.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29e71bddd6ffdd12420b4749eb88f79fb51ead26",
      "old_mode": 33188,
      "old_path": "drivers/ata/ahci.c",
      "new_id": "3c06e457b4dc86929949e700292fd3149fff79fd",
      "new_mode": 33188,
      "new_path": "drivers/ata/ahci.c"
    },
    {
      "type": "modify",
      "old_id": "a109ccbda9caec7ac7fbc3e9770e28850772c6eb",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "3587ac3fe3f394bb2e9113672f1d165876ce6a6a",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "1cea18f62abc927487e82815dfc645228ee57659",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-scsi.c",
      "new_id": "6e15c5ddae6d4796ea95ef0ca3f693f1abcf02b8",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-scsi.c"
    },
    {
      "type": "modify",
      "old_id": "5b8586dac63b155e974ab950292d501fc5fffcab",
      "old_mode": 33188,
      "old_path": "drivers/ata/pata_icside.c",
      "new_id": "f97068be2d7971e915802126c52fff68f8618109",
      "new_mode": 33188,
      "new_path": "drivers/ata/pata_icside.c"
    },
    {
      "type": "modify",
      "old_id": "efcb66b6cceff96755b886a7aade98c642530e59",
      "old_mode": 33188,
      "old_path": "drivers/ata/sata_fsl.c",
      "new_id": "9323dd0c7d8deefdfa202379e3aeeef174e15e32",
      "new_mode": 33188,
      "new_path": "drivers/ata/sata_fsl.c"
    },
    {
      "type": "modify",
      "old_id": "2ecd44db4142d639bb90fdb86872551d2705690c",
      "old_mode": 33188,
      "old_path": "drivers/ata/sata_mv.c",
      "new_id": "1c1fbf375d9af979957913fe3acdff359adf5538",
      "new_mode": 33188,
      "new_path": "drivers/ata/sata_mv.c"
    },
    {
      "type": "modify",
      "old_id": "b4b1f91ea693942f3292bcdbb885e11405c89376",
      "old_mode": 33188,
      "old_path": "drivers/ata/sata_sil24.c",
      "new_id": "df7988df79084fdca11ad228efd24f47caaf11c2",
      "new_mode": 33188,
      "new_path": "drivers/ata/sata_sil24.c"
    },
    {
      "type": "modify",
      "old_id": "2074701f7e7612959568535cfaec21bdc05b76b7",
      "old_mode": 33188,
      "old_path": "drivers/scsi/ipr.c",
      "new_id": "c72014a3e7d40ea16e8c02f10976162746c7d02a",
      "new_mode": 33188,
      "new_path": "drivers/scsi/ipr.c"
    },
    {
      "type": "modify",
      "old_id": "0996f866f14c374bfa15ab69229af5cd14936d65",
      "old_mode": 33188,
      "old_path": "drivers/scsi/libsas/sas_ata.c",
      "new_id": "7cd05b599a12ca68348ccd721963e4afb7becede",
      "new_mode": 33188,
      "new_path": "drivers/scsi/libsas/sas_ata.c"
    },
    {
      "type": "modify",
      "old_id": "bc5a8d0c70902803fe63d4d6b3104e75bfa9c34e",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "2e098f940cec74083142d07a017522261b526c5e",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
