)]}'
{
  "log": [
    {
      "commit": "285e9670d91cdeb6b6693729950339cb45410fdc",
      "tree": "5edd3f6d19ca92b408ed07daa85cc0361a7a9a72",
      "parents": [
        "d0c4c9d4a2e46f052178806c4004d52cd3ae040f"
      ],
      "author": {
        "name": "Kay Sievers",
        "email": "kay.sievers@vrfy.org",
        "time": "Tue Aug 14 14:10:39 2007 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:22:30 2008 -0600"
      },
      "message": "[SCSI] sr,sd: send media state change modification events\n\nThis will send for a card reader slot (remove/add media):\n  UEVENT[1187091572.155884] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)\n  UEVENT[1187091572.162314] remove   /block/sdb/sdb1 (block)\n  UEVENT[1187091572.172464] add      /block/sdb/sdb1 (block)\n  UEVENT[1187091572.175408] change   /devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)\n\nand for a DVD drive (add/eject media):\n  UEVENT[1187091590.189159] change   /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)\n  UEVENT[1187091590.957124] add      /module/isofs (module)\n  UEVENT[1187091604.468207] change   /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)\n\nUserspace gets events, even for unpartitioned media. This unifies\nthe event handling for asynchronoous events (AN) and events caused by\nperodical polling the device from userspace.\n\nSigned-off-by: Kay Sievers \u003ckay.sievers@vrfy.org\u003e\n\n[jejb: modified for new event API]\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "7b3d9545f9ac8b31528dd2d6d8ec8d19922917b8",
      "tree": "e8af5ec41abf8ec3a678b5643de5580db417d16f",
      "parents": [
        "911833440b498e3e4fe2f12c1ae2bd44400c7004"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Sun Jan 06 10:17:12 2008 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Sun Jan 06 10:17:12 2008 -0800"
      },
      "message": "Revert \"scsi: revert \"[SCSI] Get rid of scsi_cmnd-\u003edone\"\"\n\nThis reverts commit ac40532ef0b8649e6f7f83859ea0de1c4ed08a19, which gets\nus back the original cleanup of 6f5391c283d7fdcf24bf40786ea79061919d1e1d.\n\nIt turns out that the bug that was triggered by that commit was\napparently not actually triggered by that commit at all, and just the\ntesting conditions had changed enough to make it appear to be due to it.\n\nThe real problem seems to have been found by Peter Osterlund:\n\n  \"pktcdvd sets it [block device size] when opening the /dev/pktcdvd\n   device, but when the drive is later opened as /dev/scd0, there is\n   nothing that sets it back.  (Btw, 40944 is possible if the disk is a\n   CDRW that was formatted with \"cdrwtool -m 10236\".)\n\n   The problem is that pktcdvd opens the cd device in non-blocking mode\n   when pktsetup is run, and doesn\u0027t close it again until pktsetup -d is\n   run.  The effect is that if you meanwhile open the cd device,\n   blkdev.c:do_open() doesn\u0027t call bd_set_size() because\n   bdev-\u003ebd_openers is non-zero.\"\n\nIn particular, to repeat the bug (regardless of whether commit\n6f5391c283d7fdcf24bf40786ea79061919d1e1d is applied or not):\n\n  \" 1. Start with an empty drive.\n    2. pktsetup 0 /dev/scd0\n    3. Insert a CD containing an isofs filesystem.\n    4. mount /dev/pktcdvd/0 /mnt/tmp\n    5. umount /mnt/tmp\n    6. Press the eject button.\n    7. Insert a DVD containing a non-writable filesystem.\n    8. mount /dev/scd0 /mnt/tmp\n    9. find /mnt/tmp -type f -print0 | xargs -0 sha1sum \u003e/dev/null\n    10. If the DVD contains data beyond the physical size of a CD, you\n        get I/O errors in the terminal, and dmesg reports lots of\n        \"attempt to access beyond end of device\" errors.\"\n\nwhich in turn is because the nested open after the media change won\u0027t\ncause the size to be set properly (because the original open still holds\nthe block device, and we only do the bd_set_size() when we don\u0027t have\nother people holding the device open).\n\nThe proper fix for that is probably to just do something like\n\n\tbdev-\u003ebd_inode-\u003ei_size \u003d (loff_t)get_capacity(disk)\u003c\u003c9;\n\nin fs/block_dev.c:do_open() even for the cases where we\u0027re not the\noriginal opener (but *not* call bd_set_size(), since that will also\nchange the block size of the device).\n\nCc: Peter Osterlund \u003cpetero2@telia.com\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nCc: Matthew Wilcox \u003cmatthew@wil.cx\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "ac40532ef0b8649e6f7f83859ea0de1c4ed08a19",
      "tree": "ca86d577fe7fe68ae28b7f7d020f86bc9fff5535",
      "parents": [
        "158a962422e4a54dc256b6a9b9562f3d30d34d9c"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Jan 02 17:25:34 2008 +0100"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Wed Jan 02 13:11:06 2008 -0800"
      },
      "message": "scsi: revert \"[SCSI] Get rid of scsi_cmnd-\u003edone\"\n\nThis reverts commit 6f5391c283d7fdcf24bf40786ea79061919d1e1d (\"[SCSI]\nGet rid of scsi_cmnd-\u003edone\") that was supposed to be a cleanup commit,\nbut apparently it causes regressions:\n\n  Bug 9370 - v2.6.24-rc2-409-g9418d5d: attempt to access beyond end of device\n  http://bugzilla.kernel.org/show_bug.cgi?id\u003d9370\n\nthis patch should be reintroduced in a more split-up form to make\ntesting of it easier.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nAcked-by: Matthew Wilcox \u003cmatthew@wil.cx\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "6f5391c283d7fdcf24bf40786ea79061919d1e1d",
      "tree": "32ee9abddf9879445792019e1c03bcd28ce6bd4f",
      "parents": [
        "687d2bc4877081a44c41b5b312e012cc69edda53"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Tue Sep 25 12:42:04 2007 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Fri Oct 12 14:52:46 2007 -0400"
      },
      "message": "[SCSI] Get rid of scsi_cmnd-\u003edone\n\nThe ULD -\u003edone callback moves into the scsi_driver.  By moving the call\nto scsi_io_completion() from scsi_blk_pc_done() to scsi_finish_command(),\nwe can eliminate the latter entirely.  By returning \u0027good_bytes\u0027 from\nthe -\u003edone callback (rather than invoking scsi_io_completion()), we can\nstop exporting scsi_io_completion().\n\nAlso move the prototypes from sd.h to sd.c as they\u0027re all internal anyway.\nRename sd_rw_intr to sd_done and rw_intr to sr_done.\n\nInspired-by: Christoph Hellwig \u003chch@infradead.org\u003e\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "7f9a6bc4e9d59e7fcf03ed23f60cd81ca5d80b65",
      "tree": "f2cceb87e2b6c9a66c66a8c8ceeb20bad09bb6fa",
      "parents": [
        "d3849d512fb0ca1e369e3efcaec910a949f55f62"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@steeleye.com",
        "time": "Sat Aug 04 10:06:25 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Fri Oct 12 14:49:30 2007 -0400"
      },
      "message": "[SCSI] move ULD attachment into the prep function\n\nOne of the intents of the block prep function was to allow ULDs to use\nit for preprocessing.  The original SCSI model was to have a single prep\nfunction and add a pointer indirect filter to build the necessary\ncommands.  This patch reverses that, does away with the init_command\nfield of the scsi_driver structure and makes ULDs attach directly to the\nprep function instead.  The value is really that it allows us to begin\nto separate the ULDs from the SCSI mid layer (as long as they don\u0027t use\nany core functions---which is hard at the moment---a ULD doesn\u0027t even\nneed SCSI to bind).\n\nAcked-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "03a5743a12b58e10eaa936a02498539db645ba4e",
      "tree": "dd3d80da57e3efd26a60f4d369224b41b7008947",
      "parents": [
        "66dbfbe6fde35c881deda5cebb6ecaa0dcc1c975"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@steeleye.com",
        "time": "Fri Aug 03 16:41:11 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Sat Aug 04 08:37:04 2007 -0500"
      },
      "message": "[SCSI] sd: disentangle barriers in SCSI\n\nOur current implementation has a generic set of barrier functions that\ngo through the SCSI driver model.  Realistically, this is unnecessary,\nbecause the only device that can use barriers (sd) can set the flush\nfunctions up at probe or revalidate time.  This patch pulls the barrier\nfunctions out of the mid layer and scsi driver model and relocates them\ndirectly in sd.\n\nAcked-by: Tejun Heo \u003chtejun@gmail.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "165125e1e480f9510a5ffcfbfee4e3ee38c05f23",
      "tree": "8009c8a5ff09e26dc2418d42f66ecafb055c52a2",
      "parents": [
        "f695baf2df9e0413d3521661070103711545207a"
      ],
      "author": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Tue Jul 24 09:28:11 2007 +0200"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Tue Jul 24 09:28:11 2007 +0200"
      },
      "message": "[BLOCK] Get rid of request_queue_t typedef\n\nSome of the code has been gradually transitioned to using the proper\nstruct request_queue, but there\u0027s lots left. So do a full sweet of\nthe kernel and get rid of this typedef and replace its uses with\nthe proper type.\n\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "c3c94c5a2fb43a654e777f509d5032b0db8ed09f",
      "tree": "cbc9b0adfa0a83fc5859344d6f9911d3010a29ac",
      "parents": [
        "3721050afc6cb6ddf6de0f782e2054ebcc225e9b"
      ],
      "author": {
        "name": "Tejun Heo",
        "email": "htejun@gmail.com",
        "time": "Wed Mar 21 00:13:59 2007 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Tue Mar 20 12:06:20 2007 -0500"
      },
      "message": "[SCSI] sd: implement START/STOP management\n\nImplement SBC START/STOP management.  sdev-\u003emange_start_stop is added.\nWhen it\u0027s set to one, sd STOPs the device on suspend and shutdown and\nSTARTs it on resume.  sdev-\u003emanage_start_stop defaults is in sdev\ninstead of scsi_disk cdev to allow -\u003eslave_config() override the\ndefault configuration but is exported under scsi_disk sysfs node as\nsdev-\u003eallow_restart is.\n\nWhen manage_start_stop is zero (the default value), this patch doesn\u0027t\nintroduce any behavior change.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\n\nRejections fixed and\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "e73aec8247032ee730b5f38edf48922c4f72522e",
      "tree": "d585067900bb676abbaa779402818c19d1d63d88",
      "parents": [
        "a4d04a4cd9881e89fdc62107b6b57053438f2b30"
      ],
      "author": {
        "name": "Martin K. Petersen",
        "email": "martin.petersen@oracle.com",
        "time": "Tue Feb 27 22:40:55 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Mar 11 11:20:17 2007 -0500"
      },
      "message": "[SCSI] sd: make printing use a common prefix\n\nMake SCSI disk printing more consistent:\n\n - Define sd_printk(), sd_print_sense_hdr() and sd_print_result()\n\n - Move relevant header bits into sd.h\n\n - Remove all the legacy disk_name passing and use scsi_disk pointers\n   where possible\n\n - Switch printk() lines to the new sd_ functions so that output is\n   consistent\n\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    }
  ]
}
