)]}'
{
  "log": [
    {
      "commit": "ef5bef357cdf49f3a386c7102dbf3be5f7e5c913",
      "tree": "48d9dc86768e3e146267ea21d0c898f9008275a1",
      "parents": [
        "e26feff647ef34423b048b940540a0059001ddb0",
        "41bfcf90101601f9507240ff0435c1b73d28a132"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri Oct 10 10:53:26 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri Oct 10 10:53:26 2008 -0700"
      },
      "message": "Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6\n\n* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (37 commits)\n  [SCSI] zfcp: fix double dbf id usage\n  [SCSI] zfcp: wait on SCSI work to be finished before proceeding with init dev\n  [SCSI] zfcp: fix erp list usage without using locks\n  [SCSI] zfcp: prevent fc_remote_port_delete calls for unregistered rport\n  [SCSI] zfcp: fix deadlock caused by shared work queue tasks\n  [SCSI] zfcp: put threshold data in hba trace\n  [SCSI] zfcp: Simplify zfcp data structures\n  [SCSI] zfcp: Simplify get_adapter_by_busid\n  [SCSI] zfcp: remove all typedefs and replace them with standards\n  [SCSI] zfcp: attach and release SAN nameserver port on demand\n  [SCSI] zfcp: remove unused references, declarations and flags\n  [SCSI] zfcp: Update message with input from review\n  [SCSI] zfcp: add queue_full sysfs attribute\n  [SCSI] scsi_dh: suppress comparison warning\n  [SCSI] scsi_dh: add Dell product information into rdac device handler\n  [SCSI] qla2xxx: remove the unused SCSI_QLOGIC_FC_FIRMWARE option\n  [SCSI] qla2xxx: fix printk format warnings\n  [SCSI] qla2xxx: Update version number to 8.02.01-k8.\n  [SCSI] qla2xxx: Ignore payload reserved-bits during RSCN processing.\n  [SCSI] qla2xxx: Additional residual-count corrections during UNDERRUN handling.\n  ...\n"
    },
    {
      "commit": "242f9dcb8ba6f68fcd217a119a7648a4f69290e9",
      "tree": "1bfe245ffbc50d204d76665cd8f90d85100f86a1",
      "parents": [
        "608aeef17a91747d6303de4df5e2c2e6899a95e8"
      ],
      "author": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Sun Sep 14 05:55:09 2008 -0700"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Thu Oct 09 08:56:13 2008 +0200"
      },
      "message": "block: unify request timeout handling\n\nRight now SCSI and others do their own command timeout handling.\nMove those bits to the block layer.\n\nInstead of having a timer per command, we try to be a bit more clever\nand simply have one per-queue. This avoids the overhead of having to\ntear down and setup a timer for each command, so it will result in a lot\nless timer fiddling.\n\nSigned-off-by: Mike Anderson \u003candmike@linux.vnet.ibm.com\u003e\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "a30c3f69e6336cb9b09a989595e417367e4e9b1b",
      "tree": "219211924d44553b97579682cd8c27750b47b631",
      "parents": [
        "7404ad3b6d04efbd918e9e2e776bf560fbedf47d"
      ],
      "author": {
        "name": "Andrew Vasquez",
        "email": "andrew.vasquez@qlogic.com",
        "time": "Fri Jul 18 08:32:52 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Oct 03 11:46:15 2008 -0500"
      },
      "message": "[SCSI] fc_transport: Add an API to allow an LLD to create vports\n\nThere\u0027s already a fc_vport_termintate() call exported by\nthe transport.  This patch adds a symmetric call to the API to allow\nan NPIV-capable LLD to instantiate vports sans user intervention.\n\nAdditional comments/updates:\n\n   Re: scsi_fc_transport.txt\n     Add a function prototype for fc_vport_terminate similar to what\u0027s\n     done for fc_vport_create\n\n   Re: fc_vport_create\n     I recommend we pass the channel number in fc_vport_create rather\n     than fixing it at zero.\n\n     Also, ids-\u003evport_type should be set to FC_PORTTYPE_NPIV prior to\n     calling fc_vport_create. The comment is also meaningless.\n\nAdded-by and\nSigned-off-by: James Smart \u003cjames.smart@emulex.com\u003e\nSigned-off-by: Andrew Vasquez \u003candrew.vasquez@qlogic.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "6f4267e3bd1211b3d09130e626b0b3d885077610",
      "tree": "e9350f919238866c3bcd9c340ffea639a0c5de1d",
      "parents": [
        "0f1d87a2acb8fd1f2ef8af109a785123ddc1a6cb"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Aug 22 16:53:31 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Oct 03 11:46:13 2008 -0500"
      },
      "message": "[SCSI] Update the SCSI state model to allow blocking in the created state\n\nBrian King \u003cbrking@linux.vnet.ibm.com\u003e reported that fibre channel\ndevices can oops during scanning if their ports block (because the\ndevice goes from CREATED -\u003e BLOCK -\u003e RUNNING rather than CREATED -\u003e\nBLOCK -\u003e CREATED).\n\nFix this by adding a new state: CREATED_BLOCK which can only transition\nback to CREATED and disallow the CREATED -\u003e BLOCK transition.  Now both\nthe created and blocked states that the mid-layer recognises can include\nCREATED_BLOCK.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "0f1d87a2acb8fd1f2ef8af109a785123ddc1a6cb",
      "tree": "c59113a5f6ba81983e1bc4abad235436b1842f28",
      "parents": [
        "22447be7d15aefcfab84e9bec4859a28198b0c62"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Aug 22 16:43:59 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Oct 03 11:46:13 2008 -0500"
      },
      "message": "[SCSI] add inline functions for recognising created and blocked states\n\nThe created and blocked states are very shortly going to correspond to\nmixed sdev_state states.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "22447be7d15aefcfab84e9bec4859a28198b0c62",
      "tree": "7bb58323dfdbfbc85759c668a876b85d2084a3da",
      "parents": [
        "557cc476c04146ee610f4bc77bfe20ce1c823d7c"
      ],
      "author": {
        "name": "James Smart",
        "email": "James.Smart@Emulex.Com",
        "time": "Fri Aug 08 02:14:18 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Oct 03 11:46:13 2008 -0500"
      },
      "message": "[SCSI] scsi_netlink: Add transport and LLD recieve and event support\n\nThis patch adds scsi netlink recieve and event support for transport\nand scsi LLDD\u0027s.  It is a reimplementation of the patch posted last\nweek by David Somayajulu.\nhttp://marc.info/?l\u003dlinux-scsi\u0026m\u003d121745486221819\u0026w\u003d2\n\nThere are a few things done differently:\n\n- Transport support is included\n\n- Event delivery is included\n\n- The vendor message is now its own unique message type, considered\n  part of the generic \"SCSI Transport\".\n\n- LLDD entry points are now registered rather than included in the\n  scsi_host_template.\n\n  Background: When I started to implement the event handler via template,\n  I had to either: muck up scsi_add_host and scsi_remove_host;  or have\n  the event handler search all possible shosts. Neither was acceptable.\n  Moving to a registration solves this, and also limits the scope of\n  the changes to something that could be backported to a distro without\n  breaking an already-released-distro kabi. However, I admit it isn\u0027t\n  as elegant, as the passing of the LLDD host template in the\n  registration and the complexity around dynamic add/remove shows.\n\n- The receive path was augmented to require a unique identifier for\n  the LLDD before the message was allowed to be handed off to the\n  driver. Given how quickly very fatal errors occur if there\u0027s msg\n  mismatches (which I saw in testing my own tools :), I believe this\n  to be a very good thing. The id plays off the vendor id scheme already\n  introduced for the vendor unique event messages used by FC.\n  Additionally, the id use as the basis of the registration/deregistration.\n\n- Send assist functions, for both the transport and LLDDs are included.\n\n[fujita.tomonori@lab.ntt.co.jp: fix missing cast]\nSigned-off-by: James Smart \u003cjames.smart@emulex.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "01b291bd66564b4bd826326af6bd0b6d17e99439",
      "tree": "89ba1f339a68827c1ea0e434629759a9252b0a69",
      "parents": [
        "bb0003c1e189d5766b6b39299b08c690c985c4dc"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Aug 21 15:14:14 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Aug 29 09:19:11 2008 -0500"
      },
      "message": "[SCSI] fix check of PQ and PDT bits for WLUNs\n\nFor IBM z series certain LUNs can no longer be accessed.\n\nThis is because kernel version 2.6.19 a check was introduced not to\ncreate a generic SCSI device for devices that return PQ\u003d1 and\nPDT\u003d0x1f. For WLUNs (see SAM-3, p. 41ff) generic SCSI devices should\nbe created unconditionally without looking at the PQ bit, so add a\ncheck for WLUNs in with this test.\n\nAcked-by: Martin Petermann \u003cmartin@linux.vnet.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d211f052fa58a053639bc51501cb64421157d362",
      "tree": "8850e9490295e2697ecfd3ec72729a867b376d65",
      "parents": [
        "0967d61ea0d8e8a7826bd8949cd93dd1e829ac55"
      ],
      "author": {
        "name": "Hugh Dickins",
        "email": "hugh@veritas.com",
        "time": "Wed Aug 06 18:21:18 2008 +0100"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Aug 06 10:49:23 2008 -0700"
      },
      "message": "[SCSI] sd: fix USB devices incorrectly reporting DIF support\n\nSome USB devices set the protect bit in the INQUIRY data which\ncurrently causes the DIF code in sd to assume (incorrectly) that they\nsupport READ_CAPACITY(16).  Fix this (only for the time being) by\nmaking sure we only believe the protect bit in the inquiry data if the\ndevice claims conformance to SCSI-3 or above.\n\nAcked-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "18351070b86d155713cf790b26af4f21b1fd0b29",
      "tree": "66e98f59de072733af7ae65cebf135c37caab249",
      "parents": [
        "e63e03273b89f7248baa56cf242474f661e776e1"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Aug 05 21:42:21 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Aug 05 21:42:21 2008 -0700"
      },
      "message": "Re-introduce \"[SCSI] extend the last_sector_bug flag to cover more sectors\"\n\nThis re-introduces commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8,\nwhich was reverted due to the regression it caused by commit\nfca082c9f1e11ec07efa8d2f9f13688521253f36.\n\nThat regression was not root-caused by the original commit, it was just\nuncovered by it, and the real fix was done by Alan Stern in commit\n580da34847488b404218d1d7f53b156f245f5555 (\"Fix USB storage hang on\ncommand abort\").\n\nWe can thus re-introduce the change that was confirmed by Alan Jenkins\nto be still required by his odd card reader.\n\nCc: Alan Jenkins \u003calan-jenkins@tuffmail.co.uk\u003e\nCc: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "fca082c9f1e11ec07efa8d2f9f13688521253f36",
      "tree": "94a18d0aed308b44ba606261c603c63860c35c30",
      "parents": [
        "8f616cd5249e03c9e1b371623d85e76d4b86bbc1"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Aug 04 16:36:20 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Aug 04 16:36:20 2008 -0700"
      },
      "message": "Revert \"[SCSI] extend the last_sector_bug flag to cover more sectors\"\n\nThis reverts commit 2b142900784c6e38c8d39fa57d5f95ef08e735d8, since it\nseems to break some other USB storage devices (at least a JMicron USB to\nATA bridge).  As such, while it apparently fixes some cardreaders, it\nwould need to be made conditional on the exact reader it fixes in order\nto avoid causing regressions.\n\nCc: Alan Jenkins \u003calan-jenkins@tuffmail.co.uk\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "2b142900784c6e38c8d39fa57d5f95ef08e735d8",
      "tree": "e7d51b58df76e864c91ff7ffca0229027328c588",
      "parents": [
        "4cfc51017db3e3f4eaaa2cb436a905097a4f08e2"
      ],
      "author": {
        "name": "Alan Jenkins",
        "email": "alan-jenkins@tuffmail.co.uk",
        "time": "Sun Jul 27 09:38:42 2008 +0100"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sun Jul 27 10:16:13 2008 -0400"
      },
      "message": "[SCSI] extend the last_sector_bug flag to cover more sectors\n\nThe last_sector_bug flag was added to work around a bug in certain usb\ncardreaders, where they would crash if a multiple sector read included the\nlast sector. The original implementation avoids this by e.g. splitting an 8\nsector read which includes the last sector into a 7 sector read, and a single\nsector read for the last sector.  The flag is enabled for all USB devices.\n\nThis revealed a second bug in other usb cardreaders, which crash when they\nget a multiple sector read which stops 1 sector short of the last sector.\nAffected hardware includes the Kingston \"MobileLite\" external USB cardreader\nand the internal USB cardreader on the Asus EeePC.\n\nExtend the last_sector_bug workaround to ensure that any access which touches\nthe last 8 hardware sectors of the device is a single sector long.  Requests\nare shrunk as necessary to meet this constraint.\n\nThis gives us a safety margin against potential unknown or future bugs\naffecting multi-sector access to the end of the device.  The two known bugs\nonly affect the last 2 sectors.  However, they suggest that these devices\nare prone to fencepost errors and that multi-sector access to the end of the\ndevice is not well tested.  Popular OS\u0027s use multi-sector accesses, but they\nrarely read the last few sectors.  Linux (with udev \u0026 vol_id) automatically\nreads sectors from the end of the device on insertion.  It is assumed that\nsingle sector accesses are more thoroughly tested during development.\n\nSigned-off-by: Alan Jenkins \u003calan-jenkins@tuffmail.co.uk\u003e\nTested-by: Alan Jenkins \u003calan-jenkins@tuffmail.co.uk\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "12265709ac6e197f4d40d9ec1fd3af97b4196a35",
      "tree": "479b48c2082e374b20f1767fef7768b6ea696f84",
      "parents": [
        "af55ff675a8461da6a632320710b050af4366e0c"
      ],
      "author": {
        "name": "Alan Stern",
        "email": "stern@rowland.harvard.edu",
        "time": "Mon Jul 21 10:25:52 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:56 2008 -0400"
      },
      "message": "[SCSI] scsi_eh_prep_cmnd should save scmd-\u003eunderflow\n\nThis patch (as1116) fixes a bug in scsi_eh_prep_cmnd() and\nscsi_eh_restore_cmnd().  These routines are supposed to save any\nvalues they change and restore them later, but someone forgot to\nsave \u0026 restore scmd-\u003eunderflow.\n\nThis fixes part of the problem reported in Bugzilla #9638.\n\n[jejb: fix up rejections around DIF/DIX]\nSigned-off-by: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "7027ad72a689797475973c6feb5f0b673382f779",
      "tree": "4f6daa1d509708fb340d09608d79557a9af57f00",
      "parents": [
        "db007fc5e20c00b356e9ffe2d0e007398c65c837"
      ],
      "author": {
        "name": "Martin K. Petersen",
        "email": "martin.petersen@oracle.com",
        "time": "Thu Jul 17 17:08:48 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:55 2008 -0400"
      },
      "message": "[SCSI] Support devices with protection information\n\nImplement support for DMA of protection information for devices that\nare data integrity capable.\n\n - Add support for mapping an extra scatter-gather list containing\n   the protection information.\n\n - Allocate protection scsi_data_buffer if host is DIX (integrity DMA)\n   capable.\n\n - Accessor function for checking whether a device has protection\n   enabled.\n\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "db007fc5e20c00b356e9ffe2d0e007398c65c837",
      "tree": "ab0483beff7abaddb9648bc0b2ef1ceacfeb02a9",
      "parents": [
        "4469f9878059f1707f021512e6b34252c4096ee7"
      ],
      "author": {
        "name": "Martin K. Petersen",
        "email": "martin.petersen@oracle.com",
        "time": "Thu Jul 17 04:28:31 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:54 2008 -0400"
      },
      "message": "[SCSI] Command protection operation\n\nControllers that support DMA of protection information must be told\nexplicitly how to handle the I/O.  The controller has no knowledge of\nthe protection capabilities of the target device so this information\nmust be passed in the scsi_cmnd.\n\n - The protection operation tells the HBA whether to generate, strip or\n   verify protection information.\n\n - The protection type tells the HBA which layout the target is\n   formatted with.  This is necessary because the controller must be\n   able to correctly interpret the included protection information in\n   order to verify it.\n\n - When a scsi_cmnd is reused for error handling the protection\n   operation must be cleared and saved while error handling is in\n   progress.\n\n - prot_op and prot_type are placed in an existing hole in scsi_cmnd\n   and don\u0027t cause the structure to grow.\n\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "4469f9878059f1707f021512e6b34252c4096ee7",
      "tree": "3bc8ea358bea85235a8d9691c8b999626e685e0d",
      "parents": [
        "7c32c7a2d36c52d2b9ed040a9171364020ecc6a2"
      ],
      "author": {
        "name": "Martin K. Petersen",
        "email": "martin.petersen@oracle.com",
        "time": "Thu Jul 17 04:28:30 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:54 2008 -0400"
      },
      "message": "[SCSI] Host protection capabilities\n\nControllers that support protection information must indicate this to\nthe SCSI midlayer so that the ULD can prepare scsi_cmnds accordingly.\n\nThis patch implements a host mask and various types of protection:\n\n - DIF Type 1-3 (between HBA and disk)\n - DIX Type 0-3 (between OS and HBA)\n\nThe patch also allows the HBA to set the guard type to something\ndifferent than the T10-mandated CRC.\n\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "ae11b1b36da726a8a93409b896704edc6b4f3402",
      "tree": "737e3602cb426c87f64ad26ccbfc12ce707d7b9e",
      "parents": [
        "057ea7c9683c3d684128cced796f03c179ecf1c2"
      ],
      "author": {
        "name": "Hannes Reinecke",
        "email": "hare@suse.de",
        "time": "Thu Jul 17 17:49:02 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:53 2008 -0400"
      },
      "message": "[SCSI] scsi_dh: attach to hardware handler from dm-mpath\n\nmultipath keeps a separate device table which may be\nmore current than the built-in one.\nSo we should make sure to always call -\u003eattach whenever\na multipath map with hardware handler is instantiated.\nAnd we should call -\u003edetach on removal, too.\n\n[sekharan: update as per comments from agk]\nSigned-off-by: Hannes Reinecke \u003chare@suse.de\u003e\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "057ea7c9683c3d684128cced796f03c179ecf1c2",
      "tree": "ff9494b4da41258c06ef44ab5f7a6ed04daf3d98",
      "parents": [
        "ca9f0089867c9e476cf2e6d4615d2aae887171b2"
      ],
      "author": {
        "name": "Hannes Reinecke",
        "email": "hare@suse.de",
        "time": "Thu Jul 17 16:53:21 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:52 2008 -0400"
      },
      "message": "[SCSI] scsi_dh: add generic SPC-3 alua handler\n\nSigned-off-by: Hannes Reinecke \u003chare@suse.de\u003e\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "b6ff1b14cdf4b4cb5403f3af2c3272f7e609a241",
      "tree": "d3a8231c0c4f6c647a8546dcea4659c19ea33949",
      "parents": [
        "4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886"
      ],
      "author": {
        "name": "Hannes Reinecke",
        "email": "hare@suse.de",
        "time": "Thu Jul 17 16:53:03 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:51 2008 -0400"
      },
      "message": "[SCSI] scsi_dh: Update EMC handler\n\nThis patch converts the EMC device handler to use a proper\nstate machine. We now also parse the extended INQUIRY\ninformation to determine if long trespass commands are\nsupported. And we\u0027re now using the long trespass command\ncorrectly. And finally there\u0027s now an check at init time\nto refuse to attach to devices not supporting EMC-specific\nVPD pages.\n\nSigned-off-by: Hannes Reinecke \u003chare@suse.de\u003e\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "765cbc6dad16b87724803e359d6be792ddf08614",
      "tree": "2cedfbe6b55c9f7a3e4cc3fb4f0d1f4d9d18f625",
      "parents": [
        "6d49f63b415ca02223e01e187076cb69a5a38eaf"
      ],
      "author": {
        "name": "Hannes Reinecke",
        "email": "hare@suse.de",
        "time": "Thu Jul 17 16:52:51 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:51 2008 -0400"
      },
      "message": "[SCSI] scsi_dh: Implement common device table handling\n\nInstead of having each and every driver implement its own\ndevice table scanning code we should rather implement a common\nroutine and scan the device tables there.\nThis allows us also to implement a general notifier chain\ncallback for all device handler instead for one per handler.\n\n[sekharan: Fix rejections caused by conflicting bug fix]\nSigned-off-by: Hannes Reinecke \u003chare@suse.de\u003e\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "6d49f63b415ca02223e01e187076cb69a5a38eaf",
      "tree": "0a55faae5505c1fb55d40e5a8c6caf69f2f215da",
      "parents": [
        "f27bac2761cab5a2e212dea602d22457a9aa6943"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Tue Jul 15 14:54:16 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 26 15:14:50 2008 -0400"
      },
      "message": "[SCSI] Make host_no an unsigned int\n\nDaniel Debonzi reports that he has managed to wrap host_no.  Increasing\nthe number of host numbers available to 32-bit from 16-bit allows the\nproblem to be evaded for another hundred years.\n\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "aab0de245150c09e61c30962feb16aacde508dc3",
      "tree": "cd9cfa1e2c09aeb4cdeee605efa45fef90f0d38a",
      "parents": [
        "f75b1c60fc1e53c4004a79ea0be071aa3318cdcc"
      ],
      "author": {
        "name": "Kay Sievers",
        "email": "kay.sievers@vrfy.org",
        "time": "Fri May 02 06:02:41 2008 +0200"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Mon Jul 21 21:54:52 2008 -0700"
      },
      "message": "driver core: remove KOBJ_NAME_LEN define\n\nKobjects do not have a limit in name size since a while, so stop\npretending that they do.\n\nSigned-off-by: Kay Sievers \u003ckay.sievers@vrfy.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n"
    },
    {
      "commit": "89a93f2f4834f8c126e8d9dd6b368d0b9e21ec3d",
      "tree": "e731456fec0cab1225ad3e806dc8d3efefa0a78b",
      "parents": [
        "260eddf4391f162a69d1d163729249635fa7a78f",
        "fe9233fb6914a0eb20166c967e3020f7f0fba2c9"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Jul 15 18:58:04 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Jul 15 18:58:04 2008 -0700"
      },
      "message": "Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6\n\n* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (102 commits)\n  [SCSI] scsi_dh: fix kconfig related build errors\n  [SCSI] sym53c8xx: Fix bogus sym_que_entry re-implementation of container_of\n  [SCSI] scsi_cmnd.h: remove double inclusion of linux/blkdev.h\n  [SCSI] make struct scsi_{host,target}_type static\n  [SCSI] fix locking in host use of blk_plug_device()\n  [SCSI] zfcp: Cleanup external header file\n  [SCSI] zfcp: Cleanup code in zfcp_erp.c\n  [SCSI] zfcp: zfcp_fsf cleanup.\n  [SCSI] zfcp: consolidate sysfs things into one file.\n  [SCSI] zfcp: Cleanup of code in zfcp_aux.c\n  [SCSI] zfcp: Cleanup of code in zfcp_scsi.c\n  [SCSI] zfcp: Move status accessors from zfcp to SCSI include file.\n  [SCSI] zfcp: Small QDIO cleanups\n  [SCSI] zfcp: Adapter reopen for large number of unsolicited status\n  [SCSI] zfcp: Fix error checking for ELS ADISC requests\n  [SCSI] zfcp: wait until adapter is finished with ERP during auto-port\n  [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver\n  [SCSI] sg: Add target reset support\n  [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC\n  [SCSI] sd: Move scsi_disk() accessor function to sd.h\n  ...\n"
    },
    {
      "commit": "fe9233fb6914a0eb20166c967e3020f7f0fba2c9",
      "tree": "45d6f25301e41ff9323f2eee20fce6ae341cda7f",
      "parents": [
        "d7f305e9a08040649b0800245e67708df58cdb55"
      ],
      "author": {
        "name": "Chandra Seetharaman",
        "email": "sekharan@us.ibm.com",
        "time": "Fri May 23 18:16:40 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Tue Jul 15 09:16:43 2008 -0500"
      },
      "message": "[SCSI] scsi_dh: fix kconfig related build errors\n\nDo not automatically \"select\" SCSI_DH for dm-multipath. If SCSI_DH\ndoesn\u0027t exist,just do not allow  hardware handlers to be used.\n\nHandle SCSI_DH being a module also. Make sure it doesn\u0027t allow DM_MULTIPATH\nto be compiled in when SCSI_DH is a module.\n\n[jejb: added comment for Kconfig syntax]\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nReported-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nReported-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d2886ea368a67704ecc13e69075f18a9d74cb12b",
      "tree": "54593ba6b45d1a4cdec66da4aa7d8d813cc49a3a",
      "parents": [
        "bce7f793daec3e65ec5c5705d2457b81fe7b5725"
      ],
      "author": {
        "name": "Stefan Richter",
        "email": "stefanr@s5r6.in-berlin.de",
        "time": "Sun May 11 00:34:07 2008 +0200"
      },
      "committer": {
        "name": "Stefan Richter",
        "email": "stefanr@s5r6.in-berlin.de",
        "time": "Mon Jul 14 13:00:17 2008 +0200"
      },
      "message": "scsi: sd: optionally set power condition in START STOP UNIT\n\nAdds a new scsi_device flag, start_stop_pwr_cond:  If enabled, the sd\ndriver will not send plain START STOP UNIT commands but ones with the\npower condition field set to 3 (standby) or 1 (active) respectively.\n\nSome FireWire disk firmwares do not stop the motor if power condition is\nzero.  Or worse, they become unresponsive after a START STOP UNIT with\npower condition \u003d 0 and start \u003d 0.\n\nhttp://lkml.org/lkml/2008/4/29/704\n\nThis patch only adds the necessary code to sd_mod but doesn\u0027t activate\nit.  Follow-up patches to the FireWire drivers will add detection of\naffected devices and enable the code for them.\n\nI did not add power condition values to scsi_error.c::scsi_eh_try_stu()\nfor now.  The three firmwares which suffer from above mentioned problems\ndo not need START STOP UNIT in the error handler, and they are not\nadversely affected by START STOP UNIT with power condition \u003d 0 and start\n\u003d 1 (like scsi_eh_try_stu() sends it if scsi_device.allow_restart is\nenabled).\n\nSigned-off-by: Stefan Richter \u003cstefanr@s5r6.in-berlin.de\u003e\nTested-by: Tino Keitel \u003ctino.keitel@gmx.de\u003e\n"
    },
    {
      "commit": "02a1e3ce7df624ba91e8ff06e172f448746ad76a",
      "tree": "443b230d71fbfb82f5dc30049bdc10d7f511ff57",
      "parents": [
        "453cd0f3ff3bf25d86c96e62d271ba238f06d5ff"
      ],
      "author": {
        "name": "Alexander Beregalov",
        "email": "a.beregalov@gmail.com",
        "time": "Sun Jul 06 17:01:34 2008 +0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:37 2008 -0500"
      },
      "message": "[SCSI] scsi_cmnd.h: remove double inclusion of linux/blkdev.h\n\nSigned-off-by: Alexander Beregalov \u003ca.beregalov@gmail.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "feac6a07c4a3578bffd6769bb4927e8a7e1f3ffe",
      "tree": "991f87dc67519beef0b6e6513a750babb25af056",
      "parents": [
        "5d4e226246331087799a01c267ec72e5931ff190"
      ],
      "author": {
        "name": "Martin Petermann",
        "email": "martin@linux.vnet.ibm.com",
        "time": "Wed Jul 02 10:56:35 2008 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:34 2008 -0500"
      },
      "message": "[SCSI] zfcp: Move status accessors from zfcp to SCSI include file.\n\nMove the accessor functions for the scsi_cmnd status from zfcp to the\nSCSI include file. Change the interface to the functions to pass the\nscsi_cmnd pointer instead of the status pointer.\n\nSigned-off-by: Martin Petermann \u003cmartin@linux.vnet.ibm.com\u003e\nSigned-off-by: Christof Schmitt \u003cchristof.schmitt@de.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "39120e11705782c77d3a47d7d2927676fd8e3aaa",
      "tree": "b9f897de2a45928146d362ee01a583c1c3f2fa8a",
      "parents": [
        "f11f594edba7f689af9792a5673ed59d660ad371"
      ],
      "author": {
        "name": "Brian King",
        "email": "brking@linux.vnet.ibm.com",
        "time": "Tue Jul 01 13:03:19 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:32 2008 -0500"
      },
      "message": "[SCSI] sg: Add target reset support\n\nAdds support for target reset to SG_SCSI_RESET.\n\nSigned-off-by: Brian King \u003cbrking@linux.vnet.ibm.com\u003e\nAcked-by: Douglas Gilbert \u003cdougg@torque.net\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "aa91696e56a0870db5754610e9f9b937e77507e0",
      "tree": "f0832f576703b04ff9ab170b36531f20cb765c91",
      "parents": [
        "dbfe54a9c9a9e31cdf71704e4e70d10d22a57264"
      ],
      "author": {
        "name": "Martin K. Petersen",
        "email": "martin.petersen@oracle.com",
        "time": "Tue Jun 17 12:47:32 2008 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:31 2008 -0500"
      },
      "message": "[SCSI] sd: Move sd.h header file\n\nChristoph objected to having sd.h in include/scsi since it is internal\nto the sd driver.  Move it to drivers/scsi/sd.h.\n\nSigned-off-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "30e9ba9f2001f45960507f1963551311a67d0209",
      "tree": "6445dc94b672e8647697582c59d17de70b4c23ec",
      "parents": [
        "8f333991ba8479fe8a9d72aea978db415e3c2f2a"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Mon May 26 11:31:19 2008 +0300"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:23 2008 -0500"
      },
      "message": "[SCSI] iscsi_tcp: Enable any size command\n\nLet through upto the largest command of 260 defined by the scsi standard.\niscsi core supports this already. Now that the scsi-ml supports it we can\nstart using large commands.\n\n[jejb:rejections fixed up]\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nAcked-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "913e5bf435617aa529919a4f7567f849f9f35f9f",
      "tree": "db7357d78d7d6f20358d61bf88a8137ad044a5a5",
      "parents": [
        "3cf7b233ffc45d4fc381221f74d24f10e692c4ea"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:18 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:22 2008 -0500"
      },
      "message": "[SCSI] libiscsi, iser, tcp: remove recv_lock\n\nThe recv lock was defined so the iscsi layer could block\nthe recv path from processing IO during recovery. It\nturns out iser just set a lock to that pointer which was pointless.\n\nWe now disconnect the transport connection before doing recovery\nso we do not need the recv lock. For iscsi_tcp we still stop\nthe recv path incase older tools are being used.\n\nThis patch also has iscsi_itt_to_ctask user grab the session lock\nand has the caller access the task with the lock or get a ref\nto it in case the target is broken and sends a tmf success response\nthen sends data or a response for the command that was supposed to\nbe affected bty the tmf.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "3cf7b233ffc45d4fc381221f74d24f10e692c4ea",
      "tree": "c1bd741628e1e75cf07fa5c47fbdaa9e9f9236ee",
      "parents": [
        "88dfd340b9dece8fcaa1a2d4c782338926c017f7"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:17 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:21 2008 -0500"
      },
      "message": "[SCSI] libiscsi: fix cmds_max setting\n\nDrivers expect that the cmds_max value they pass to the iscsi layer\nis the max scsi commands  + mgmt tasks. This patch implements that\nand fixes some checks for nr cmd limits.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "88dfd340b9dece8fcaa1a2d4c782338926c017f7",
      "tree": "89800910ef8636f00d2c66ce4e83a161087857e6",
      "parents": [
        "06520edea0fc7007985fa4cd51560149feb3f442"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:16 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:21 2008 -0500"
      },
      "message": "[SCSI] iscsi class: Add session initiatorname and ifacename sysfs attrs.\n\nThis adds two new attrs used for creating initiator ports and\nbinding sessions to hardware.\n\nThe session level initiatorname:\n\nSince bnx2i does a scsi_host per host device, we need to add the\niface initiator port settings on the session, so we can create\nmultiple initiator ports (each with different inames) per device/scsi_host.\n\nThe current iname reflects that qla4xxx can have one iname per hba, and we are\nallocating a host per session for software. The iname on the host will\nremain so we can export and set the hba level qla4xxx setting.\n\nThe ifacename attr:\n\nTo bind a session to a some peice of hardware in userspace we maintain\nsome mappings, but during boot or iscsid restart (iscsid contains the user\nspace part of the driver) we need to be able to figure out which of those\nhost mappings abstractions maps to certain sessions. This patch adds\na ifacename attr, which userspace can set to id the host side of the\nendpoint across pivot_roots and iscsid restarts.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d82ff9be733a2e6da4f6c2ab4e9216f3f536503d",
      "tree": "ec02aa5148e8d9739683fb703732b7edbaf3b3ac",
      "parents": [
        "7970634b81a6e3561954517bca42615542c4535b"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:13 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:20 2008 -0500"
      },
      "message": "[SCSI] iscsi class: add endpoint class\n\nAdd sysfs representation for the endpoint, so userspace can match the\nhost and session to the endpoint. This will allow us to set the host\u0027s\nparent correctly at host creation time.\n\nThe next patches will convert tcp and iser, and fix iser\u0027s dma_mask\nbug.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "7970634b81a6e3561954517bca42615542c4535b",
      "tree": "e8a6aea24c5db8c1198173b75945746333cdbd4d",
      "parents": [
        "2261ec3d686e35c1a6088ab7f00a1d02b528b994"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:12 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:20 2008 -0500"
      },
      "message": "[SCSI] iscsi class: user device_for_each_child instead of duplicating session list\n\nCurrently we duplicate the list of sessions, because we were using the\ntest for if a session was on the host list to indicate if the session\nwas bound or unbound. We can instead use the target_id and fix up\nthe class so that drivers like bnx2i do not have to manage the target id\nspace.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "9c19a7d0387124a508d2cdb38ebf8cd484631ad0",
      "tree": "3c7022cd03fee32e1eb290396fe780049f095449",
      "parents": [
        "2747fdb25726caa1a89229f43d99ca50af72576a"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:09 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:19 2008 -0500"
      },
      "message": "[SCSI] libiscsi: rename iscsi_cmd_task to iscsi_task\n\nThis is the second part of the iscsi task merging, and\nall it does it rename iscsi_cmd_task to iscsi_task and\nmtask/ctask to just task.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "3e5c28ad0391389959ccae81c938c7533efb3490",
      "tree": "bcfb02dc14afa91dd21fd59ec7c82f881be065c9",
      "parents": [
        "052d014485d2ce5bb7fa8dd0df875dafd1db77df"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:06 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:19 2008 -0500"
      },
      "message": "[SCSI] libiscsi: merge iscsi_mgmt_task and iscsi_cmd_task\n\nThere is no need to have the mgmt and cmd tasks separate\nstructs. It used to save a lot of memory when we overprealocated\nmemory for tasks, but the next patches will set up the\ndriver so in the future they can use a mempool or some other\ncommon scsi command allocator and common tagging.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "0af967f5d4f2dd1e00618d34ac988037d37a6c3b",
      "tree": "08297980d1b6dab820d22c12c7fe1c54602f2486",
      "parents": [
        "b40977d95fb3a1898ace6a7d97e4ed1a33a440a4"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:04 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:18 2008 -0500"
      },
      "message": "[SCSI] libiscsi, iscsi_tcp, iser: add session cmds array accessor\n\nCurrently to get a ctask from the session cmd array, you have to\nknow to use the itt modifier. To make this easier on LLDs and\nso in the future we can easilly kill the session array and use\nthe host shared map instead, this patch adds a nice wrapper\nto strip the itt into a session-\u003ecmds index and return a ctask.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "5af3e91d232b7e022f258202f72ebb79b8b0c706",
      "tree": "5f82082a797fed58001304eaf46ef35037840f05",
      "parents": [
        "5d91e209fb21fb9cc765729d4c6a85a9fb6c9187"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:02 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:17 2008 -0500"
      },
      "message": "[SCSI] iscsi: modify iscsi printk so it can take driver data pointers\n\nSome drivers want to be able to just pass in the driver data pointers\nto the iscsi objects. To enable this we need the iscsi printk macro\nto cast the object.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "5d91e209fb21fb9cc765729d4c6a85a9fb6c9187",
      "tree": "870367c290c1392fbe0d3762981553f0e24aa752",
      "parents": [
        "a4804cd6eb19318ae8d08ea967cfeaaf5c5b68a6"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:01 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:16 2008 -0500"
      },
      "message": "[SCSI] iscsi: remove session/conn_data_size from iscsi_transport\n\nThis removes the session and conn data_size fields from the iscsi_transport.\nJust pass in the value like with host allocation. This patch also makes\nit so the LLD iscsi_conn data is allocated with the iscsi_cls_conn.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "a4804cd6eb19318ae8d08ea967cfeaaf5c5b68a6",
      "tree": "a69acbfdf4e3646ebb7583f0627b7b7952d13b10",
      "parents": [
        "756135215ec743be6fdce2bdebe8cdb9f8a231f6"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:54:00 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:16 2008 -0500"
      },
      "message": "[SCSI] iscsi: add iscsi host helpers\n\nThis finishes the host/session unbinding, by adding some helpers\nto add and remove hosts and the session they manage.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "756135215ec743be6fdce2bdebe8cdb9f8a231f6",
      "tree": "7eb0a5a23731fcd974f9e5e5d136fe6944d4761c",
      "parents": [
        "32c6e1b9a2e27076b7070a9ec56a9e5437ebd725"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:53:59 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:16 2008 -0500"
      },
      "message": "[SCSI] iscsi: remove session and host binding in libiscsi\n\nbnx2i allocates a host per netdevice but will use libiscsi,\nso this unbinds the session from the host in that code.\n\nThis will also be useful for the iser parent device dma settings\nfixes.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "32c6e1b9a2e27076b7070a9ec56a9e5437ebd725",
      "tree": "9a6e1df9b42d96e04607efb3c5accbb41c532ad6",
      "parents": [
        "d3826721b198001c55353b1c54e10843068aae63"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:53:58 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:15 2008 -0500"
      },
      "message": "[SCSI] iscsi class: rename iscsi_host to iscsi_cls_host\n\nThis renames the iscsi_host to iscsi_cls_host to match the other\nstructs, because libiscsi wants to use the iscsi_host name in\nthe future.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d3826721b198001c55353b1c54e10843068aae63",
      "tree": "7f2348a674da1f0d513c65d6225eea5f49ffff66",
      "parents": [
        "40753caa364bfba60ebd5e2a8bdf366ef175d03c"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:53:57 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:15 2008 -0500"
      },
      "message": "[SCSI] iscsi class, iscsi drivers: remove unused iscsi_transport attrs\n\nmax_cmd_len and max_conn are not really used. max_cmd_len is\nalways 16 and can be set by the LLD. max_conn is always one\nsince we do not support MCS.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "40753caa364bfba60ebd5e2a8bdf366ef175d03c",
      "tree": "ed43045b841521eb9c9fedc08d603df89a77cf6f",
      "parents": [
        "d54d48b80fb523ce1b1a644e4876b08835ad757f"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 21 15:53:56 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Jul 12 08:22:15 2008 -0500"
      },
      "message": "[SCSI] iscsi class, iscsi_tcp/iser: add host arg to session creation\n\niscsi offload (bnx2i and qla4xx) allocate a scsi host per hba,\nso the session creation path needs a shost/host_no argument.\nSoftware iscsi/iser will follow the same behabior as before\nwhere it allcoates a host per session, but in the future iser\nwill probably look more like bnx2i where the host\u0027s parent is\nthe hardware (rnic for iser and for bnx2i it is the nic), because\nit does not use a socket layer like how iscsi_tcp does.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "a6a8d9f87eb8510a8f53672ea87703f62185d75f",
      "tree": "d166e14e3c035ae0e0f26329b2b3b0495046d234",
      "parents": [
        "53c8ba95402be65d412a806cda3430f0e72cd107"
      ],
      "author": {
        "name": "Chandra Seetharaman",
        "email": "sekharan@us.ibm.com",
        "time": "Thu May 01 14:49:46 2008 -0700"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Jun 05 09:23:40 2008 -0500"
      },
      "message": "[SCSI] scsi_dh: add infrastructure for SCSI Device Handlers\n\nSome of the storage devices (that can be accessed through multiple paths),\ndo need some special handling for\n\t1. Activating the passive path of the storage access.\n\t2. Decode and handle the special sense codes returned by the devices.\n\t3. Handle the I/Os being sent to the passive path, especially\n           during the device probe time.\nwhen accessed through multiple paths.\n\nAs of today this special device handling is done at the dm-multipath\nlayer using dm-handlers. That works well for (1); for (2) to be handled\nat dm layer, scsi sense information need to be exported from SCSI to dm-layer,\nwhich is not very attractive; (3) cannot be done at all at the dm layer.\n\nDevice handler has been moved to SCSI mainly to handle (2) and (3) properly.\n\nSigned-off-by: Chandra Seetharaman \u003csekharan@us.ibm.com\u003e\nSigned-off-by: Mike Anderson \u003candmike@linux.vnet.ibm.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d626e3bf728c47746f2129aa00c775d4e8c2a73b",
      "tree": "551a8c362c7b9833e7848bc6167cf322f75563a1",
      "parents": [
        "b66e1f11ebc429569a3784aaf64123633d9e3ed1",
        "7ad4a485002c141f156a014e89542e01e7f8e36a"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri May 02 13:52:35 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Fri May 02 13:52:35 2008 -0700"
      },
      "message": "Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6\n\n* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6:\n  [SCSI] aic94xx: fix section mismatch\n  [SCSI] u14-34f: Fix 32bit only problem\n  [SCSI] dpt_i2o: sysfs code\n  [SCSI] dpt_i2o: 64 bit support\n  [SCSI] dpt_i2o: move from virt_to_bus/bus_to_virt to dma_alloc_coherent\n  [SCSI] dpt_i2o: use standard __init / __exit code\n  [SCSI] megaraid_sas: fix suspend/resume sections\n  [SCSI] aacraid: Add Power Management support\n  [SCSI] aacraid: Fix jbod operations scan issues\n  [SCSI] aacraid: Fix warning about macro side-effects\n  [SCSI] add support for variable length extended commands\n  [SCSI] Let scsi_cmnd-\u003ecmnd use request-\u003ecmd buffer\n  [SCSI] bsg: add large command support\n  [SCSI] aacraid: Fix down_interruptible() to check the return value correctly\n  [SCSI] megaraid_sas; Update the Version and Changelog\n  [SCSI] ibmvscsi: Handle non SCSI error status\n  [SCSI] bug fix for free list handling\n  [SCSI] ipr: Rename ipr\u0027s state scsi host attribute to prevent collisions\n  [SCSI] megaraid_mbox: fix Dell CERC firmware problem\n"
    },
    {
      "commit": "db4742dd8f0aa9125b74f9b2516336a75f3d9106",
      "tree": "6820b74e8fbfb13c4eee4c8ef8b59a9132320799",
      "parents": [
        "64a87b244b9297667ca80264aab849a36f494884"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Wed Apr 30 11:27:26 2008 +0300"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri May 02 11:33:25 2008 -0500"
      },
      "message": "[SCSI] add support for variable length extended commands\n\nAdd support for variable-length, extended, and vendor specific\nCDBs to scsi-ml. It is now possible for initiators and ULD\u0027s\nto issue these types of commands. LLDs need not change much.\nAll they need is to raise the .max_cmd_len to the longest command\nthey support (see iscsi patch).\n\n- clean-up some code paths that did not expect commands to be\n  larger than 16, and change cmd_len members\u0027 type to short as\n  char is not enough.\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: Benny Halevy \u003cbhalevy@panasas.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "64a87b244b9297667ca80264aab849a36f494884",
      "tree": "554d78d1cfe594b92409a19b3ed1d32efcbd31cc",
      "parents": [
        "9f5de6b105bfa45911d46566df0b36720b648c42"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Wed Apr 30 11:19:47 2008 +0300"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri May 02 10:18:22 2008 -0500"
      },
      "message": "[SCSI] Let scsi_cmnd-\u003ecmnd use request-\u003ecmd buffer\n\n - struct scsi_cmnd had a 16 bytes command buffer of its own.\n   This is an unnecessary duplication and copy of request\u0027s\n   cmd. It is probably left overs from the time that scsi_cmnd\n   could function without a request attached. So clean that up.\n\n - Once above is done, few places, apart from scsi-ml, needed\n   adjustments due to changing the data type of scsi_cmnd-\u003ecmnd.\n\n - Lots of drivers still use MAX_COMMAND_SIZE. So I have left\n   that #define but equate it to BLK_MAX_CDB. The way I see it\n   and is reflected in the patch below is.\n   MAX_COMMAND_SIZE - means: The longest fixed-length (*) SCSI CDB\n                      as per the SCSI standard and is not related\n                      to the implementation.\n   BLK_MAX_CDB.     - The allocated space at the request level\n\n - I have audit all ISA drivers and made sure none use -\u003ecmnd in a DMA\n   Operation. Same audit was done by Andi Kleen.\n\n(*)fixed-length here means commands that their size can be determined\n   by their opcode and the CDB does not carry a length specifier, (unlike\n   the VARIABLE_LENGTH_CMD(0x7f) command). This is actually not exactly\n   true and the SCSI standard also defines extended commands and\n   vendor specific commands that can be bigger than 16 bytes. The kernel\n   will support these using the same infrastructure used for VARLEN CDB\u0027s.\n   So in effect MAX_COMMAND_SIZE means the maximum size command\n   scsi-ml supports without specifying a cmd_len by ULD\u0027s\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "87528227dfa8776d12779d073c217f0835fd6d20",
      "tree": "b81e95f35826bc266fef2f425bee225f4b347a02",
      "parents": [
        "6f735e36bad6fa4949271b3c3d0f331aad812313"
      ],
      "author": {
        "name": "Eli Dorfman",
        "email": "dorfman.eli@gmail.com",
        "time": "Tue Apr 29 13:46:52 2008 -0700"
      },
      "committer": {
        "name": "Roland Dreier",
        "email": "rolandd@cisco.com",
        "time": "Tue Apr 29 13:46:52 2008 -0700"
      },
      "message": "IB/iser: Count FMR alignment violations per session\n\nCount FMR alignment violations per session as part of the iscsi\nstatistics.\n\nSigned-off-by: Eli Dorfman \u003celid@voltaire.com\u003e\nSigned-off-by: Roland Dreier \u003crolandd@cisco.com\u003e\n"
    },
    {
      "commit": "643eb2d932c97a0583381629d632d486934cf7ee",
      "tree": "514d860d8b6c22f50b8fdd7afd25047707321650",
      "parents": [
        "f7120a4f75168df3c02efacd10403a4ba0bcb29d"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Mar 22 22:42:27 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Tue Apr 22 15:16:31 2008 -0500"
      },
      "message": "[SCSI] rework scsi_target allocation\n\nThe current target allocation code registeres each possible target\nwith sysfs; it will be deleted again if no useable LUN on this target\nwas found. This results in a string of \u0027target add/target remove\u0027 uevents.\n\nBased on a patch by Hannes Reinecke \u003chare@suse.de\u003e this patch reworks\nthe target allocation code so that only uevents for existing targets\nare sent. The sysfs registration is split off from the existing\nscsi_target_alloc() into a in a new scsi_add_target() function, which\nshould be called whenever an existing target is found. Only then a\nuevent is sent, so we\u0027ll be generating events for existing targets\nonly.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "e80ab411e589e00550e2e6e5a6a02d59cc730357",
      "tree": "870225ff7b5b8d03e82a996963213a4bb9cce248",
      "parents": [
        "529a41e36673b518c9e091f3a8d932b6b9e3c461",
        "ee959b00c335d7780136c5abda37809191fe52c3"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Apr 21 15:49:58 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Mon Apr 21 15:49:58 2008 -0700"
      },
      "message": "Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6\n\n* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)\n  SCSI: convert struct class_device to struct device\n  DRM: remove unused dev_class\n  IB: rename \"dev\" to \"srp_dev\" in srp_host structure\n  IB: convert struct class_device to struct device\n  memstick: convert struct class_device to struct device\n  driver core: replace remaining __FUNCTION__ occurrences\n  sysfs: refill attribute buffer when reading from offset 0\n  PM: Remove destroy_suspended_device()\n  Firmware: add iSCSI iBFT Support\n  PM: Remove legacy PM (fix)\n  Kobject: Replace list_for_each() with list_for_each_entry().\n  SYSFS: Explicitly include required header file slab.h.\n  Driver core: make device_is_registered() work for class devices\n  PM: Convert wakeup flag accessors to inline functions\n  PM: Make wakeup flags available whenever CONFIG_PM is set\n  PM: Fix misuse of wakeup flag accessors in serial core\n  Driver core: Call device_pm_add() after bus_add_device() in device_add()\n  PM: Handle device registrations during suspend/resume\n  block: send disk \"change\" event for rescan_partitions()\n  sysdev: detect multiple driver registrations\n  ...\n\nFixed trivial conflict in include/linux/memory.h due to semaphore header\nfile change (made irrelevant by the change to mutex).\n"
    },
    {
      "commit": "ee959b00c335d7780136c5abda37809191fe52c3",
      "tree": "7775f3b274fd8caf5e7e5154fea89e96f2babd94",
      "parents": [
        "56d110e852b0b1c85ad6c9bfe1cb4473ceb16402"
      ],
      "author": {
        "name": "Tony Jones",
        "email": "tonyj@suse.de",
        "time": "Fri Feb 22 00:13:36 2008 +0100"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Sat Apr 19 19:10:33 2008 -0700"
      },
      "message": "SCSI: convert struct class_device to struct device\n\nIt\u0027s big, but there doesn\u0027t seem to be a way to split it up smaller...\n\nSigned-off-by: Tony Jones \u003ctonyj@suse.de\u003e\nSigned-off-by: Kay Sievers \u003ckay.sievers@vrfy.org\u003e\nCc: Roland Dreier \u003crolandd@cisco.com\u003e\nCc: Sean Hefty \u003csean.hefty@intel.com\u003e\nCc: Hal Rosenstock \u003chal.rosenstock@gmail.com\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n"
    },
    {
      "commit": "5a6483feb0c5193519625d0ea8c4254364d423cc",
      "tree": "2235220e522882ac5872937fa43d3d1b188c1f4e",
      "parents": [
        "cb688371e27880d86c42323826846d1cd7caad8f"
      ],
      "author": {
        "name": "Matthew Wilcox",
        "email": "matthew@wil.cx",
        "time": "Tue Feb 26 10:00:17 2008 -0500"
      },
      "committer": {
        "name": "Matthew Wilcox",
        "email": "willy@linux.intel.com",
        "time": "Fri Apr 18 22:16:54 2008 -0400"
      },
      "message": "include: Remove unnecessary inclusions of asm/semaphore.h\n\nNone of these files use any of the functionality promised by\nasm/semaphore.h.  It\u0027s possible that they (or some user of them) rely\non it dragging in some unrelated header file, but I can\u0027t build all\nthese files, so we\u0027ll have to fix any build failures as they come up.\n\nSigned-off-by: Matthew Wilcox \u003cwilly@linux.intel.com\u003e\n"
    },
    {
      "commit": "38d1c069db8c87eb6cb10ca1ede9d9b673531ddd",
      "tree": "b5e823e2225620f0db342e70e107831e505b9276",
      "parents": [
        "57b7658aed76f1763416878ead9be4ffa288b7a3"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Fri Apr 18 10:11:51 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Apr 18 11:51:19 2008 -0500"
      },
      "message": "[SCSI] iscsi: extended cdb support\n\nSupport for extended CDBs in iscsi.\nAll we need is to check if command spills over 16 bytes then allocate\nan iscsi-extended-header for the leftovers.\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nReviewed-by: Pete Wyckoff \u003cpw@osc.edu\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "79bc14813cd7e1b75d2e4cbbc17043261cf4bcdc",
      "tree": "6b090baa08ac80861b86fa2f41c89058211ce06a",
      "parents": [
        "2f3edc6936e3f6be3f1df1e89c141ae028fa605e"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Apr 03 09:04:31 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:19:10 2008 -0500"
      },
      "message": "[SCSI] libsas: fix missing inlines in header file\n\nTwo functions in include/scsi/sas_ata.h don\u0027t have static inlines\nleading to problems if they\u0027re built in:\n\nOn Thu, 2008-04-03 at 14:06 +0200, Toralf Förster wrote:\n\u003e drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port\u0027:\n\u003e mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port\u0027\n\u003e drivers/scsi/libsas/built-in.o:(.text+0x37f4): first defined here\n\u003e drivers/scsi/mvsas.o: In function `sas_ata_task_abort\u0027:\n\u003e mvsas.c:(.text+0x7): multiple definition of `sas_ata_task_abort\u0027\n\u003e drivers/scsi/libsas/built-in.o:(.text+0x37fb): first defined here\n\u003e make[2]: *** [drivers/scsi/built-in.o] Error 1\n\u003e make[1]: *** [drivers/scsi] Error 2\n\u003e make: *** [drivers] Error 2\n\nAdd the correct static inline modifiers.\n\nTested-by: Toralf Förster \u003ctoralf.foerster@gmx.de\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "3bc6a26192d2548397a3e721d786cf8345ee54e1",
      "tree": "03d14e2549a306c932bed0ee619bc67066631912",
      "parents": [
        "be3cb3d84bb8dffecb7c5570355866075caa7e95"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Tue Mar 25 09:26:49 2008 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:19:01 2008 -0500"
      },
      "message": "[SCSI] add scsi_build_sense_buffer helper function\n\nThis adds scsi_build_sense_buffer, a simple helper function to build\nsense data in a buffer.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "1c353f7d616a4ef04b5e73fe7a2184baa039f06f",
      "tree": "a5401c83e6cad369d72abcbd06ad55620346d242",
      "parents": [
        "e507e30b803fb56d768ed9a597e7609b74d2db21"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Mar 13 11:19:36 2008 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:18:57 2008 -0500"
      },
      "message": "[SCSI] export command allocation and freeing functions independently of the host\n\nThis is needed by things like USB storage that want to set up static\ncommands for later use at start of day.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "9ac16b616ab117dab3fce9790368d3b58ca441ef",
      "tree": "2da372ba43875040a2fca67217372569f0a97ff3",
      "parents": [
        "b1adaf65ba0398c9a1adc8f3a274533165a4df61"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Sun Mar 09 13:44:29 2008 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:15:45 2008 -0500"
      },
      "message": "[SCSI] scsi: add wrapper functions for sg buffer copy helper functions\n\nLLDs need to copies data between the SG table in struct scsi_cmnd and\nliner buffer. So they use the helper functions like\n\nsg_copy_from_buffer(scsi_sglist(sc), scsi_sg_count(sc), buf, buflen)\nsg_copy_to_buffer(scsi_sglist(sc), scsi_sg_count(sc), buf, buflen)\n\nThis patch just adds wrapper functions:\n\nscsi_sg_copy_from_buffer(sc, buf, buflen)\nscsi_sg_copy_to_buffer(sc, buf, buflen)\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "30bd7df8ced23eefec87a5cda96dc99b002ed9da",
      "tree": "80702b8ba0454540cc7ea19cfe49871192ab860c",
      "parents": [
        "f7441a791aeaeac2e1f1f71b485d1372016f9285"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Fri Feb 29 18:25:19 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:15:41 2008 -0500"
      },
      "message": "[SCSI] scsi_error: add target reset handler\n\nThe problem is that serveral drivers are sending a target reset from the\ndevice reset handler, and if we have multiple devices a target reset gets\nsent for each device when only one would be sufficient. And if we do a target\nreset it affects all the commands on the target so the device reset handler\ncode only cleaning up one devices\u0027s commands makes programming the driver a\nlittle more difficult than it should be.\n\nThis patch adds a target reset handler, which drivers can use to send\na target reset. If successful it cleans up the commands for a devices\naccessed through that starget.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "45e6cdf41437c72ed79cee64dc69e7f740511e50",
      "tree": "80814e8e3e58ddfe9e27e9674f256a67cdef0fb5",
      "parents": [
        "7e23ea488488400127a2da19c0d89f1723117504"
      ],
      "author": {
        "name": "Darrick J. Wong",
        "email": "djwong@us.ibm.com",
        "time": "Tue Feb 19 10:49:40 2008 -0800"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Apr 07 12:15:38 2008 -0500"
      },
      "message": "[SCSI] libsas: Provide a transport-level facility to request SAS addrs\n\nProvide a facility to use the request_firmware() interface to get a SAS\naddress from userspace.  This can be used by SAS LLDDs that cannot\nobtain the address from the host adapter.\n\nSigned-off-by: Darrick J. Wong \u003cdjwong@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "45ab33b6c190c4a8c58f1d13be2ff89ee62024ba",
      "tree": "7bcec9986d93b55b0693829903a959e3c96f42b1",
      "parents": [
        "024f801f528220edc89275a724ea00cd18c5ebb7"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue Mar 04 13:26:55 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Mar 05 12:04:09 2008 -0600"
      },
      "message": "[SCSI] iscsi class: regression - fix races with state manipulation and blocking/unblocking\n\nFor qla4xxx, we could be starting a session, but some error (network,\ntarget, IO from a device that got started, etc) could cause the session\nto fail and curring the block/unblock and state manipulation could race\nwith each other. This patch just has those operations done in the\nsingle threaded iscsi eh work queue, so that way they are serialized.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "5319578ca38a8b90b6d0270c194c65d1dd8f7725",
      "tree": "a4e3c15a1035d9ace3507a06ef2093eb9b07fec8",
      "parents": [
        "eea5ff7bde45c7724594e6a3c9a6290691ddabe9"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Feb 23 23:35:44 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sat Feb 23 23:52:30 2008 -0600"
      },
      "message": "[SCSI] libsas: export sas_find_local_phy function\n\nThis is needed by the to be added I_T reset function in aic94xx.  It\nneeds to know the local phy so it can send a link or hard reset along\nthe path.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "4660c8ed5aaed99d82785499f034a8cc9199866d",
      "tree": "5583446125e4d649f28cb678ee809a2937964555",
      "parents": [
        "90b0c41829450d60da388edcd346c5b31371e7be"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sun Feb 10 09:42:46 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Mon Feb 11 13:40:13 2008 -0600"
      },
      "message": "[SCSI] update SG_ALL to avoid causing chaining\n\nSince the sg chaining patches went in, our current value of 255 for\nSG_ALL excites chaining on some drivers which cannot support it (and\nwould thus oops).  Redefine SG_ALL to mean no sg table size\npreference, but use the single allocation (non chained) limit.  This\nalso helps for drivers that use it to size an internal table.\n\nWe\u0027ll do an opt in system later where truly chaining supporting\ndrivers can define their sg_tablesize to be anything up to\nSCSI_MAX_SG_CHAIN_ELEMENTS.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d850bd34f5b2a52ccec90188ad86165f940693e9",
      "tree": "7f22410bf8383d91055e4fa53166d7a283ec7267",
      "parents": [
        "8144f2137b7c69055597bb644a3cb6d08ee0de77"
      ],
      "author": {
        "name": "Pavel Machek",
        "email": "pavel@ucw.cz",
        "time": "Mon Feb 04 23:53:24 2008 -0800"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:43 2008 -0600"
      },
      "message": "[SCSI] Small cleanups for scsi_host.h\n\nSmall cleanups in scsi_host.h. Few #defines make me wonder if their\ndescription is still up to date..?\n\nSigned-off-by: Pavel Machek \u003cpavel@suse.cz\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "89dddbce9c6ec7663af81a74be6a6aa720301994",
      "tree": "e960055eb2357355517a057a599de16ac922c366",
      "parents": [
        "366c246de9cec909c5eba4f784c92d1e75b4dc38"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sun Feb 03 15:32:59 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:41 2008 -0600"
      },
      "message": "[SCSI] add protocol definitions\n\nA lot of SCSI command replies have a protocol ID field.  Add\ndefinitions for the interpretation of that from SPC-3.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "8b1d03434ee44b08c57f50403eaeab099facebf5",
      "tree": "48d7c5aeb3b765284dcc3d8685ed6ea6aed350cb",
      "parents": [
        "322d739da83bbff0309c202181f79c08d9534880"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jan 31 13:36:53 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:37 2008 -0600"
      },
      "message": "[SCSI] libiscsi: fix session age rollover and remove cid encoding\n\nThe session age mask is only 4 bits, but session-\u003eage is 32. When\nit gets larger then 15 and we try to or the bits some bits get\ndropped and the check for session age in iscsi_verify_itt is useless.\n\nThe ISCSI_CID_MASK related bits are also useless since cid is always\none.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "322d739da83bbff0309c202181f79c08d9534880",
      "tree": "4bbe485dc4f942ac6d5c8ad1c4508599a1eb2c66",
      "parents": [
        "c238c3bba9b422a9b453c75e157b416204f22a71"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jan 31 13:36:52 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:37 2008 -0600"
      },
      "message": "[SCSI] iscsi: fix up iscsi printk prefix\n\nSome iscsi class messages have the dev_printk prefix and some libiscsi\nand iscsi_tcp messages have \"iscsi\" or the module name as a prefix which\nis normally pretty useless when trying to figure out which session\nor connection the message is attached to. This patch adds iscsi lib\nand class dev_printks so all messages have a common prefix that\ncan be used to figure out which object printed it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "8aae18adb240a9eb1999b8245c56522cbefc9047",
      "tree": "a859a89c4385fc3639733db4b56735e26797feba",
      "parents": [
        "568d303b5b3f0f6432ae8f56ecdb0beb2341288e"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jan 31 13:36:48 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:35 2008 -0600"
      },
      "message": "[SCSI] iscsi class: add async scan helper\n\nIn qla4xxx\u0027s probe it will call the iscsi session setup functions\nfor session that got setup on the initial start. This then makes\nit easy for the iscsi class to export a helper which indicates\nwhen those scans are done.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "bd976f62cd6c6dda1ce57bf3e84447e94844868a",
      "tree": "560e9fd29f0af7d6cb1a89b49e6f2091832c987b",
      "parents": [
        "7fb1921b07a83f71a77f806a2a7d2dd721ea641b"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jan 31 13:36:46 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:35 2008 -0600"
      },
      "message": "[SCSI] iscsi class: add session scanning\n\nThis just adds iscsi session scanning which works like fc rport scanning.\nThe future patches will hook the drivers into Mathew Wilcox\u0027s async\nscanning infrastructure, so userspace does not have to special case\niscsi and so userspace does not have to make a extra special case for\nhardware iscsi root scanning.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "6eabafbe6616266e8de61980a7dac5ecc1ba1113",
      "tree": "f5533027fac576acf4db08210ea5815db3a15e50",
      "parents": [
        "84ac86ca8c6787f9efff28bc04b1b65fe0a5c310"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jan 31 13:36:43 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:34 2008 -0600"
      },
      "message": "[SCSI] iscsi class, libiscsi: add iscsi sysfs session state file\n\nThis adds a iscsi session state file which exports the session\nstate for both software and hardware iscsi. It also hooks libiscsi\nin.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "f8d9d654fcc7dd87f5d0b222e233eaab15d650c4",
      "tree": "22514d77f4904b4cf9dabb4321cf763e2afa91fc",
      "parents": [
        "5234e25c35a708708559727b1e3e04de3a538828"
      ],
      "author": {
        "name": "Adrian Bunk",
        "email": "bunk@kernel.org",
        "time": "Tue Jan 29 00:11:27 2008 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Thu Feb 07 18:02:33 2008 -0600"
      },
      "message": "[SCSI] libiscsi: make __iscsi_complete_pdu() static\n\n__iscsi_complete_pdu() can now become static.\n\nSigned-off-by: Adrian Bunk \u003cbunk@kernel.org\u003e\nAcked-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "1e4478c325caadb135572f9a907761505dcbce39",
      "tree": "f7faedf3defafbbc1729d275c134c44a06366154",
      "parents": [
        "fd3f8984f6fa1ad1a6c2283eef48ba6e5242bcc5"
      ],
      "author": {
        "name": "Joe Perches",
        "email": "joe@perches.com",
        "time": "Sun Feb 03 17:47:00 2008 +0200"
      },
      "committer": {
        "name": "Adrian Bunk",
        "email": "bunk@kernel.org",
        "time": "Sun Feb 03 17:47:00 2008 +0200"
      },
      "message": "include/scsi/: Spelling fixes\n\nSigned-off-by: Joe Perches \u003cjoe@perches.com\u003e\nSigned-off-by: Adrian Bunk \u003cbunk@kernel.org\u003e\n"
    },
    {
      "commit": "c639d14e2f70d086842d37fb8e4f5ab9bd56af2e",
      "tree": "7f6bd8106b7fc983d54ecb9f3cfd0e746f7fe884",
      "parents": [
        "072d0bb3ce3507ac6e101ca8ce0b94c5777c62ed"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "tomof@acm.org",
        "time": "Wed Jan 23 01:32:01 2008 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 30 13:14:25 2008 -0600"
      },
      "message": "[SCSI] scsi_debug: add XDWRITEREAD_10 support\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Douglas Gilbert \u003cdougg@torque.net\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "d3f46f39b7092594b498abc12f0c73b0b9913bde",
      "tree": "6d595bdecbdd41a958e05e425664209f5d71ecf1",
      "parents": [
        "b8de16318410f6f8611a879678a531237e4aadc9"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Tue Jan 15 11:11:46 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 30 13:14:02 2008 -0600"
      },
      "message": "[SCSI] remove use_sg_chaining\n\nWith the sg table code, every SCSI driver is now either chain capable\nor broken (or has sg_tablesize set so chaining is never activated), so\nthere\u0027s no need to have a check in the host template.\n\nAlso tidy up the code by moving the scatterlist size defines into the\nSCSI includes and permit the last entry of the scatterlist pools not\nto be a power of two.\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "6f9a35e2dafa0f855ab051c11bdbf739745ff6f5",
      "tree": "5ca273c98b61a4d329653ef30faa2c0414eccd2b",
      "parents": [
        "30b0c37b27485a9cb897bfe3824f6f517b8c80d6"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Thu Dec 13 13:50:53 2007 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 30 13:03:41 2008 -0600"
      },
      "message": "[SCSI] bidirectional command support\n\nAt the block level bidi request uses req-\u003enext_rq pointer for a second\nbidi_read request.\nAt Scsi-midlayer a second scsi_data_buffer structure is used for the\nbidi_read part. This bidi scsi_data_buffer is put on\nrequest-\u003enext_rq-\u003especial. Struct scsi_cmnd is not changed.\n\n- Define scsi_bidi_cmnd() to return true if it is a bidi request and a\n  second sgtable was allocated.\n\n- Define scsi_in()/scsi_out() to return the in or out scsi_data_buffer\n  from this command This API is to isolate users from the mechanics of\n  bidi.\n\n- Define scsi_end_bidi_request() to do what scsi_end_request() does but\n  for a bidi request. This is necessary because bidi commands are a bit\n  tricky here. (See comments in body)\n\n- scsi_release_buffers() will also release the bidi_read scsi_data_buffer\n\n- scsi_io_completion() on bidi commands will now call\n  scsi_end_bidi_request() and return.\n\n- The previous work done in scsi_init_io() is now done in a new\n  scsi_init_sgtable() (which is 99% identical to old scsi_init_io())\n  The new scsi_init_io() will call the above twice if needed also for\n  the bidi_read command. Only at this point is a command bidi.\n\n- In scsi_error.c at scsi_eh_prep/restore_cmnd() make sure bidi-lld is not\n  confused by a get-sense command that looks like bidi. This is done\n  by puting NULL at request-\u003enext_rq, and restoring.\n\n[jejb: update to sg_table and resolve conflicts\nalso update to blk-end-request and resolve conflicts]\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "30b0c37b27485a9cb897bfe3824f6f517b8c80d6",
      "tree": "22643da8e175ff7badf2413dc8c84b2e99613a6f",
      "parents": [
        "bb52d82f45df3a2661d88befba7c79a7db8be496"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Thu Dec 13 13:47:40 2007 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 30 13:03:40 2008 -0600"
      },
      "message": "[SCSI] implement scsi_data_buffer\n\nIn preparation for bidi we abstract all IO members of scsi_cmnd,\nthat will need to duplicate, into a substructure.\n\n- Group all IO members of scsi_cmnd into a scsi_data_buffer\n  structure.\n- Adjust accessors to new members.\n- scsi_{alloc,free}_sgtable receive a scsi_data_buffer instead of\n  scsi_cmnd. And work on it.\n- Adjust scsi_init_io() and  scsi_release_buffers() for above\n  change.\n- Fix other parts of scsi_lib/scsi.c to members migration. Use\n  accessors where appropriate.\n\n- fix Documentation about scsi_cmnd in scsi_host.h\n\n- scsi_error.c\n  * Changed needed members of struct scsi_eh_save.\n  * Careful considerations in scsi_eh_prep/restore_cmnd.\n\n- sd.c and sr.c\n  * sd and sr would adjust IO size to align on device\u0027s block\n    size so code needs to change once we move to scsi_data_buff\n    implementation.\n  * Convert code to use scsi_for_each_sg\n  * Use data accessors where appropriate.\n\n- tgt: convert libsrp to use scsi_data_buffer\n\n- isd200: This driver still bangs on scsi_cmnd IO members,\n  so need changing\n\n[jejb: rebased on top of sg_table patches fixed up conflicts\nand used the synergy to eliminate use_sg and sg_count]\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "bb52d82f45df3a2661d88befba7c79a7db8be496",
      "tree": "875af65ede88fe724fb350e43000fe99262fec9f",
      "parents": [
        "03e7925d0737d99086acee6263424dafa34e45ae"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Thu Dec 13 16:14:27 2007 -0800"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 30 13:03:40 2008 -0600"
      },
      "message": "[SCSI] tgt: use scsi_init_io instead of scsi_alloc_sgtable\n\nIf we export scsi_init_io()/scsi_release_buffers() instead of\nscsi_{alloc,free}_sgtable() from scsi_lib than tgt code is much more\ninsulated from scsi_lib changes. As a bonus it will also gain bidi\ncapability when it comes.\n\n[jejb: rebase on to sg_table and fix up rejections]\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "5ed7959ede0936c55e50421a53f153b17080e876",
      "tree": "52fae9cd4959b7855e37c5dc4d0ce7eb22656cdb",
      "parents": [
        "0db9299f48ebd4a860d6ad4e1d36ac50671d48e7"
      ],
      "author": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Thu Nov 15 09:13:11 2007 +0100"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Mon Jan 28 10:05:27 2008 +0100"
      },
      "message": "SG: Convert SCSI to use scatterlist helpers for sg chaining\n\nAlso change scsi_alloc_sgtable() to just return 0/failure, since it\nmaps to the command passed in. -\u003erequest_buffer is now no longer needed,\nonce drivers are adapted to use scsi_sglist() it can be killed.\n\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "366ca51f30de1cbb5b356c70b7bb22051c558e41",
      "tree": "c28a9d3b64a5b3e3c8bd29c57003ee524e9e1e63",
      "parents": [
        "1292500b159c00a8fece072b004f154e6fda9f48"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 18 10:47:01 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 25 11:47:23 2008 -0600"
      },
      "message": "[SCSI] libsas: abstract STP task status into a function\n\nBreak out the frame processor for STP tasks from aic94xx so they can\nbe shared by other SAS HBA\u0027s\n\nOriginal patch from Jeff Garzik \u003cjeff@garzik.org\u003e\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "de25deb18016f66dcdede165d07654559bb332bc",
      "tree": "b566c2a369d3dce85507ab28ea20ffee020e0c06",
      "parents": [
        "b30c2fc1113edfb2371427c10503ff942b0a0370"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Wed Jan 16 13:32:17 2008 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 23 11:37:37 2008 -0600"
      },
      "message": "[SCSI] use dynamically allocated sense buffer\n\nThis removes static array sense_buffer in scsi_cmnd and uses\ndynamically allocated sense_buffer (with GFP_DMA).\n\nThe reason for doing this is that some architectures need cacheline\naligned buffer for DMA:\n\nhttp://lkml.org/lkml/2007/11/19/2\n\nThe problems are that scsi_eh_prep_cmnd puts scsi_cmnd::sense_buffer\nto sglist and some LLDs directly DMA to scsi_cmnd::sense_buffer. It\u0027s\nnecessary to DMA to scsi_cmnd::sense_buffer safely. This patch solves\nthese issues.\n\n__scsi_get_command allocates sense_buffer via kmem_cache_alloc and\nattaches it to a scsi_cmnd so everything just work as before.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "b30c2fc1113edfb2371427c10503ff942b0a0370",
      "tree": "1eb6f1c83f44bcd12e254a544eff20b3da9dc996",
      "parents": [
        "a0899d4df534d2bcf671b0f647b809842309a9ae"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sun Jan 20 09:09:40 2008 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 23 11:29:35 2008 -0600"
      },
      "message": "[SCSI] scsi.h: add macro for enclosure bit of inquiry data\n\nThe macro tells us whether the device is (or contains) an enclosure device.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "a0899d4df534d2bcf671b0f647b809842309a9ae",
      "tree": "990c3eb7876f6f8a6dee37ec2ecd4684c11b1f74",
      "parents": [
        "b523381e325366cc54a2548df418c2a427b2f2ee"
      ],
      "author": {
        "name": "Hans de Goede",
        "email": "j.w.r.degoede@hhs.nl",
        "time": "Sun Jan 20 11:12:26 2008 +0100"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Wed Jan 23 11:29:34 2008 -0600"
      },
      "message": "[SCSI] sd: add fix for devices with last sector access problems\n\nThis patch adds a new scsi_device flag (last_sector_bug) for devices\nwhich contain a bug where the device crashes when the last sector is\nread in a larger then 1 sector read.\n\nThis is for example the case with sdcards in the HP PSC1350 printer\ncardreader and in the HP PSC1610 printer cardreader.\n\nSigned-off-by: Hans de Goede \u003cj.w.r.degoede@hhs.nl\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "32e8ae36b8f80372015b88b63c4358a376c9af0f",
      "tree": "9a7211c761b0476216eaf24f0aebd7ced7945a37",
      "parents": [
        "2d507a01dac338831266b44ccbb01c69e84606ed"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Sun Dec 30 12:37:31 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:29:15 2008 -0600"
      },
      "message": "[SCSI] libsas: don\u0027t use made up error codes\n\nThis is bad for two reasons:\n\n     1. If they\u0027re returned to outside applications, no-one knows what\n        they mean.\n     2. Eventually they\u0027ll clash with the ever expanding standard error\n        codes.\n\nThe problem error code in question is ETASK.  I\u0027ve replaced this by\nECOMM (communications error on send) a network error code that seems to\nmost closely relay what ETASK meant.\n\nAcked-by: Darrick J. Wong \u003cdjwong@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "b98e66fa0b687149dc3b26179096dc542c7d5001",
      "tree": "d08e0192f53ef4fc0655b38835f2beb9e3c826cb",
      "parents": [
        "38b3167f75c9508156b974d19692c19b78292e2e"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Dec 28 16:35:17 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:29:11 2008 -0600"
      },
      "message": "[SCSI] libsas: add host SMP processing\n\nThis adds support for host side SMP processing, via a separate\nSMP interpreter file.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "a8ac6311cc21d78fa284cd43f56df2063f536bf1",
      "tree": "c408dcccab2854dd9dd1775b5971ea60b34127dd",
      "parents": [
        "1040c99d9fd9de2bf00efae6d91014f890575bdb"
      ],
      "author": {
        "name": "Olaf Kirch",
        "email": "olaf.kirch@oracle.com",
        "time": "Thu Dec 13 12:43:35 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:42 2008 -0600"
      },
      "message": "[SCSI] iscsi: convert xmit path to iscsi chunks\n\nConvert xmit to iscsi chunks.\n\nfrom michaelc@cs.wisc.edu:\n\nBug fixes, more digest integration, sg chaining conversion and other\nsg wrapper changes, coding style sync up, and removal of io fields,\nlike pdu_sent, that are not needed.\n\nSigned-off-by: Olaf Kirch \u003colaf.kirch@oracle.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "f6d5180c78780d63b0577edeb3ce41eeb3e93eea",
      "tree": "95eb44fb84dd7659f816c5f1166c1ae7e2301f5f",
      "parents": [
        "2697478903d0ad8bdbf868b1346ae4b891662bb1"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Dec 13 12:43:30 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:35 2008 -0600"
      },
      "message": "[SCSI] libiscsi: fix nop handling\n\nDuring root boot and shutdown the target could send us nops.\nAt this time iscsid cannot be running, so the target will drop\nthe session and the boot or shutdown will hang.\n\nTo handle this and allow us to better control when to check the network\nthis patch moves the nop handling to the kernel.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "2697478903d0ad8bdbf868b1346ae4b891662bb1",
      "tree": "8b40d774c0a6f33f9320333a20e08fa920f154fc",
      "parents": [
        "bc436b278776d22eb10e7e75bf3e5257d14550a9"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Dec 13 12:43:29 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:33 2008 -0600"
      },
      "message": "[SCSI] libiscsi: fix shutdown\n\nWe were using the device delete sysfs file to remove each device\nthen logout. Now in 2.6.21 this will not work because\nthe sysfs delete file returns immediately and does not wait for\nthe device removal to complete. This causes a hang if a cache sync\nis needed during shutdown. Before .21, that approach had other\nproblems, so this patch fixes the shutdown code so that we remove the target\nand unbind the session before logging out and shut down the session\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "b3a7ea8d50f6028964b468d13a095dfb2508b2fb",
      "tree": "47cc070e1761208e7e6448a0eb8ca3567e27a462",
      "parents": [
        "6320377fd94316e58f75d0be6f6e7a644950a4ee"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Dec 13 12:43:26 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:28 2008 -0600"
      },
      "message": "[SCSI] libiscsi: do not block session during logout\n\nThere is not need to block the session during logout. Since\nwe are going to fail the commands that were blocked just fail them\nimmediately instead.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "6320377fd94316e58f75d0be6f6e7a644950a4ee",
      "tree": "7c7b47e6bafae9f25cfd9e1416494b6406c2d0b9",
      "parents": [
        "38ad03de3fd350e683213ddf898a7049534628a8"
      ],
      "author": {
        "name": "Olaf Kirch",
        "email": "olaf.kirch@oracle.com",
        "time": "Thu Dec 13 12:43:25 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:27 2008 -0600"
      },
      "message": "[SCSI] libiscsi, iscsi_tcp: iscsi pool cleanup\n\niscsi_pool_init simplified\n\niscsi_pool_init currently has a lot of duplicate kfree() calls it does\nwhen some allocation fails. This patch simplifies the code a little by\nusing iscsi_pool_free to tear down the pool in case of an error.\n\niscsi_pool_init also returns a copy of the item array to the caller.\nNot all callers use this array, so we make it optional.\n\nInstead of allocating a second array and return that, allocate just one\narray, of twice the size.\n\nUpdate users of iscsi_pool_{init,free}\n\nThis patch drops the (now useless) second argument to\niscsi_pool_free, and updates all callers.\n\nIt also removes the ctask-\u003er2ts array, which was never\nused anyway. Since the items argument to iscsi_pool_init\nis now optional, we can pass NULL instead.\n\nSigned-off-by: Olaf Kirch \u003colaf.kirch@oracle.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "004d6530f83bee43a55b51bb5960db96e7ae0ffa",
      "tree": "a7bb6ffb3e6e89ca6ee9b164d5f19899a0c100dd",
      "parents": [
        "7207fea452cfdd2d4e2f4419e2c31f570edbade3"
      ],
      "author": {
        "name": "Boaz Harrosh",
        "email": "bharrosh@panasas.com",
        "time": "Thu Dec 13 12:43:23 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:23 2008 -0600"
      },
      "message": "[SCSI] iscsi_tcp, libiscsi: initial AHS Support\n\n  at libiscsi generic code\n  - currently code assumes a storage space of pdu header is allocated\n    at llds ctask and is pointed to by iscsi_cmd_task-\u003ehdr. Here I add\n    a hdr_max field pertaining to that storage, and an hdr_len that\n    accumulates the current use of the pdu-header.\n\n  - Add an iscsi_next_hdr() inline which returns the next free space\n    to write new Header at. Also iscsi_next_hdr() is used to retrieve\n    the address at which to write the header-digest.\n\n  - Add iscsi_add_hdr(length). What the user do is calls iscsi_next_hdr()\n    for address of the new header, than calls iscsi_add_hdr(length) with\n    the size of the new header. iscsi_add_hdr() will check if space is\n    available and update to the new size. length must be padded according\n    to standard.\n\n  - Add 2 padding inline helpers thanks to Olaf. Current patch does not\n    use them but Following patches will.\n    Also moved definition of ISCSI_PAD_LEN to iscsi_proto.h which had\n    PAD_WORD_LEN that was never used anywhere.\n\n  - Let iscsi_prep_scsi_cmd_pdu() signal an Error return since now  it is\n    possible that it will fail.\n\n  - I was tired of yet again writing a \"this is a digest\" comment next to\n    sizeof(__u32) so I defined a new ISCSI_DIGEST_SIZE. Now I don\u0027t need\n    any comments. Changed all places that used sizeof(__u32) or \"4\" in\n    connection to a digest.\n\n  iscsi_tcp specific code\n  - At struct iscsi_tcp_cmd_task allocate maximum space allowed in\n    standard for all headers following the iscsi_cmd header. and mark\n    it so in iscsi_tcp_session_create()\n  - At iscsi_send_cmd_hdr() retrieve the correct headers size and\n    write header digest at iscsi_next_hdr().\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: Olaf Kirch \u003colaf.kirch@oracle.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "da32dd681f7a1a17073c42b375fc23cf73c92155",
      "tree": "5bdca9ef0806fbf09b13d2fc272cda24702f482c",
      "parents": [
        "843c0a8a76078cf961b244b839683d0667313740"
      ],
      "author": {
        "name": "Olaf Kirch",
        "email": "olaf.kirch@oracle.com",
        "time": "Thu Dec 13 12:43:21 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:20 2008 -0600"
      },
      "message": "[SCSI] iscsi_tcp: rewrite recv path\n\nRewrite recv path. Fixes:\n- data digest processing and error handling.\n- ahs support.\n\nSome fixups by Mike Christie\n\nSigned-off-by: Olaf Kirch \u003colaf.kirch@oracle.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "843c0a8a76078cf961b244b839683d0667313740",
      "tree": "3feaf71c8e67f38e10e78e315bbc8623dcf38a3d",
      "parents": [
        "8ae732a91df051aba6820068a47b631a06599d84"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Dec 13 12:43:20 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:28:19 2008 -0600"
      },
      "message": "[SCSI] libiscsi, iscsi_tcp: add device support\n\nThis patch adds logical unit reset support. This should work for ib_iser,\nbut I have not finished testing that driver so it is not hooked in yet.\n\nThis patch also temporarily reverts the iscsi_tcp r2t write out patch.\nThat code is completely rewritten in this patchset.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "001aac257cf8adbe90cdcba6e07f8d12dfc8fa6b",
      "tree": "0eb6294049245e05f47fdb76e3f878c78c015d88",
      "parents": [
        "4a03d90e35bc5273d27301fa669d4b2103196f94"
      ],
      "author": {
        "name": "James Bottomley",
        "email": "James.Bottomley@SteelEye.com",
        "time": "Sun Dec 02 19:10:40 2007 +0200"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:22:50 2008 -0600"
      },
      "message": "[SCSI] sd,sr: add early detection of medium not present\n\nThe current scsi_test_unit_ready() is updated to return sense code\ninformation (in struct scsi_sense_hdr).  The sd and sr drivers are\nchanged to interpret the sense code return asc 0x3a as no media and\nadjust the device status accordingly.\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "25d7c363f2663fe399e623c9bd819258c9760bdc",
      "tree": "c03867708e9f66e236163e81913cdd1c516e9f12",
      "parents": [
        "f28cd7cf8f696eafe42d1632b5a306fbf784d3cd"
      ],
      "author": {
        "name": "Tony Battersby",
        "email": "tonyb@cybernetics.com",
        "time": "Mon Nov 12 10:00:44 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:22:44 2008 -0600"
      },
      "message": "[SCSI] move single_lun flag from scsi_device to scsi_target\n\nSome SCSI tape medium changers that need the BLIST_SINGLELUN flag have\nthe medium changer at one LUN and the tape drive at a different LUN.\nThe inquiry string of the tape drive may be different from that of the\nmedium changer.  In order for single_lun to be effective, every\nscsi_device under a given scsi_target must have it set.  This means that\nthere needs to be a blacklist entry for BOTH the medium changer AND the\ntape drive, which is impractical because some medium changers may be\npaired with a variety of different tape drive models.  It makes more\nsense to put the single_lun flag in scsi_target instead of scsi_device,\nwhich causes every device at a given target ID to inherit the single_lun\nflag from one LUN.  This makes it possible to blacklist just the medium\nchanger and not the tape drive.\n\nSigned-off-by: Tony Battersby \u003ctonyb@cybernetics.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "8ee24023ef43c77cdaea1add00e1e45cc4fc3261",
      "tree": "d36320fa2a3ff4e8d98ff17a31cbe6b292c1155f",
      "parents": [
        "5929faf3334f4c69f3bb02be59d7c127e0cefa1f"
      ],
      "author": {
        "name": "Darrick J. Wong",
        "email": "djwong@us.ibm.com",
        "time": "Mon Nov 05 11:52:14 2007 -0800"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:22:41 2008 -0600"
      },
      "message": "[SCSI] libsas: Fix various sparse complaints\n\nAnnotate sas_queuecommand with locking details, and clean up a few\nmore sparse warnings about static/non-static declarations.\n\nSigned-off-by: Darrick J. Wong \u003cdjwong@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "commit": "5929faf3334f4c69f3bb02be59d7c127e0cefa1f",
      "tree": "d82d79f1e2aaea1306e6e4888590a6755c99d7d7",
      "parents": [
        "e5a69e27cc193f98c9a5a9086e3bf85528170623"
      ],
      "author": {
        "name": "Darrick J. Wong",
        "email": "djwong@us.ibm.com",
        "time": "Mon Nov 05 11:51:17 2007 -0800"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "James.Bottomley@HansenPartnership.com",
        "time": "Fri Jan 11 18:22:41 2008 -0600"
      },
      "message": "[SCSI] libsas: Convert sas_proto users to sas_protocol\n\nsparse complains about the mixing of enums in libsas.  Since the\nunderlying numeric values of both enums are the same, combine them\nto get rid of the warning.\n\nSigned-off-by: Darrick J. Wong \u003cdjwong@us.ibm.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\n"
    },
    {
      "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": "522939d45c293388e6a360210905f9230298df16",
      "tree": "38c37c6688a5095ab49c8fd42425e2bf3fb61ae9",
      "parents": [
        "794e64d5e9c7f088378e093a48eb36a30091d82d"
      ],
      "author": {
        "name": "Maciej W. Rozycki",
        "email": "macro@linux-mips.org",
        "time": "Mon Dec 10 15:49:31 2007 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Mon Dec 10 19:43:55 2007 -0800"
      },
      "message": "esp_scsi: fix reset cleanup spinlock recursion\n\nThe esp_reset_cleanup() function is called with the host lock held and\ninvokes starget_for_each_device() which wants to take it too.  Here is a\nfix along the lines of shost_for_each_device()/__shost_for_each_device()\nadding a __starget_for_each_device() counterpart which assumes the lock\nhas already been taken.\n\nEventually, I think the driver should get modified so that more work is\ndone as a softirq rather than in the interrupt context, but for now it\nfixes a bug that causes the spinlock debugger to fire.\n\nWhile at it, it fixes a small number of cosmetic problems with\nstarget_for_each_device() too.\n\nSigned-off-by: Maciej W. Rozycki \u003cmacro@linux-mips.org\u003e\nAcked-by: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: James Bottomley \u003cJames.Bottomley@steeleye.com\u003e\nCc: \u003cstable@kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    }
  ],
  "next": "a341cd0f6a0fde1f85fec9aa8f81f824ea4a3f92"
}
