)]}'
{
  "commit": "09b12dd4e3caff165a0f17a2f3ebd2bbc8544cc6",
  "tree": "877cbb8887a2b2d0f2b8a512cce3bacf4643e48c",
  "parents": [
    "1e119fa9950dfe0e6d97470098db776110ca47a9"
  ],
  "author": {
    "name": "Stefan Richter",
    "email": "stefanr@s5r6.in-berlin.de",
    "time": "Thu Aug 14 21:47:21 2008 +0200"
  },
  "committer": {
    "name": "Stefan Richter",
    "email": "stefanr@s5r6.in-berlin.de",
    "time": "Wed Oct 15 22:21:10 2008 +0200"
  },
  "message": "firewire: fw-sbp2: enforce s/g segment size limit\n\n1. We don\u0027t need to round the SBP-2 segment size limit down to a\n   multiple of 4 kB (0xffff -\u003e 0xf000).  It is only necessary to\n   ensure quadlet alignment (0xffff -\u003e 0xfffc).\n\n2. Use dma_set_max_seg_size() to tell the DMA mapping infrastructure\n   and the block IO layer about the restriction.  This way we can\n   remove the size checks and segment splitting in the queuecommand\n   path.\n\n   This assumes that no other code in the firewire stack uses\n   dma_map_sg() with conflicting requirements.  It furthermore assumes\n   that the controller device\u0027s platform actually allows us to set the\n   segment size to our liking.  Assert the latter with a BUG_ON().\n\n3. Also use blk_queue_max_segment_size() to tell the block IO layer\n   about it.  It cannot know it because our scsi_add_host() does not\n   point to the FireWire controller\u0027s device.\n\nThanks to Grant Grundler and FUJITA Tomonori for advice.\n\nSigned-off-by: Stefan Richter \u003cstefanr@s5r6.in-berlin.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "05997cee4f379761baa3282bb28b26424c4babc8",
      "old_mode": 33188,
      "old_path": "drivers/firewire/fw-sbp2.c",
      "new_id": "5d8411afcedb4d27e4ff0ee4681553320a17cc56",
      "new_mode": 33188,
      "new_path": "drivers/firewire/fw-sbp2.c"
    }
  ]
}
