)]}'
{
  "log": [
    {
      "commit": "6724add1b5cfb020ba8f5532efe430d1ccd5fc30",
      "tree": "4c1f0de4c56835934d844ac20cc42a54ee19ce6f",
      "parents": [
        "96809f1b15eddae2325b2ab78e6f931edc969074"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Aug 15 01:38:30 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Wed Aug 15 13:09:21 2007 -0500"
      },
      "message": "[SCSI] libiscsi: sync up iscsi and scsi eh\u0027s access to the connection\n\nThe iscsi eh could be tearing down the session/connection while\nthe scsi eh is still sending task management functions. If when\nwe drop the session lock to grab the recv lock, the iscsi eh\ntears down the connection we will oops.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "96809f1b15eddae2325b2ab78e6f931edc969074",
      "tree": "dc260207b281e0f078f7b560a178565968109383",
      "parents": [
        "604cd794de3094ccf8a9c149f299237a642ba9b5"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Aug 15 01:38:29 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Wed Aug 15 13:08:14 2007 -0500"
      },
      "message": "[SCSI] libiscsi: fix null ptr regression when aborting a command with data to transfer\n\nWe do not want to send data if we are aborting a task. There is\na check in iscsi_xmit_ctask, but right before calling this we overwrite\nthe state so we always go right past the test. Sending data causes problems\nbecause when we clean up from a successful abort the LLD assumes that\nthe task is not running.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "e07264071f7f2b02a2973cb28d9fdf5eb8866cc1",
      "tree": "25ca60eeb25dbb519428d3e4bbea77d978e5a4a1",
      "parents": [
        "7974392c0b0d4e7a2a17ca3597d51a29b9841aa5"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jul 26 12:46:48 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Fri Jul 27 09:12:05 2007 -0400"
      },
      "message": "[SCSI] libiscsi: fix cmd seqeunce number checking\n\nWe should not be checking the cmd windown for just handling r2t responses.\nAnd if the window closes in on us, always have scsi-ml requeue the command\nfrom our queuecommand function.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "464bb99ea448dc2f017be9150a8be9ab1f021979",
      "tree": "02639d08940609bfbb729d9da1e5bce1dddf7a48",
      "parents": [
        "1d1bbee61e4ecdaad450e9bf4d9983876ed53a43"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Jul 26 12:46:45 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.localdomain",
        "time": "Fri Jul 27 09:11:14 2007 -0400"
      },
      "message": "[SCSI] libiscsi: make sure session is not blocked when removing host\n\nWhen we logout we block the session since we are not taking any more\ncommands, but when we call remove host we want to make sure any\nIO that got queued up and blocked gets failed upwards quickly, so\nwe unblock the session and fail it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "1c13899154f6f93e8c9ff3e981a90d5f21df2d6b",
      "tree": "0287449d5e4da4fb8824e49f5cd25c4dbfcc3bac",
      "parents": [
        "d36b113eea2918ce1badf277af9fc64311609ca2"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Thu Jun 14 22:13:17 2007 +0900"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Jun 17 16:01:55 2007 -0500"
      },
      "message": "[SCSI] iscsi_tcp: convert to use the data buffer accessors\n\n- remove the unnecessary map_single path.\n\n- convert to use the new accessors for the sg lists and the\nparameters.\n\nTODO: use scsi_for_each_sg().\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "d8196ed2181b4595eaf464a5bcbddb6c28649a39",
      "tree": "c4a9fd65f2c43bfecfa50f5714036f52200749c6",
      "parents": [
        "2223696192c687f2853e42b7c1e0d3ef002081fd"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:25 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Jun 02 15:38:04 2007 -0400"
      },
      "message": "[SCSI] iscsi class, iscsi_tcp, iser, qla4xxx: add netdevname sysfs attr\n\niSCSI must support software iscsi (iscsi_tcp, iser), hardware iscsi (qla4xxx),\nand partial offload (broadcom). To be able to allow each stack or driver\nor port (virtual or physical) to be able to log into the same target portal\nwe use the initiator tuple [[HWADDRESS | NETDEVNAME], INITIATOR_NAME] and\nthe target tuple [TARGETNAME, CONN_ADDRESS, CONN_PORT] to id a session.\nThis patch adds the netdev name, which is used by software iscsi when\nit binds a session to a netdevice using the SO_BINDTODEVICE sock opt.\nIt cannot use HWADDRESS because if someone did vlans then the same netdevice\nwill have the same mac and the initiator,target id will not be unique.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nCc: David C Somayajulu \u003cdavid.somayajulu@qlogic.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "1548271ece9e9312fd5feb41fd58773b56a71d39",
      "tree": "89f990788a619a52c3ba4ecbf5f2a596c5711d04",
      "parents": [
        "77a23c21aaa723f6b0ffc4a701be8c8e5a32346d"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:19 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Jun 02 15:34:46 2007 -0400"
      },
      "message": "[SCSI] libiscsi: make can_queue configurable\n\nThis patch allows us to set can_queue and cmds_per_lun from userspace\nwhen we create the session/host. From there we can set it on a per\ntarget basis. The patch fully converts iscsi_tcp, but only hooks\nup ib_iser for cmd_per_lun since it currently has a lots of preallocations\nbased on can_queue.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "77a23c21aaa723f6b0ffc4a701be8c8e5a32346d",
      "tree": "5b51b8299a8deede4c91dffde032899ab76e331a",
      "parents": [
        "218432c68085d6c2b04df57daaf105d2ffa2aa61"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:18 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Jun 02 15:34:14 2007 -0400"
      },
      "message": "[SCSI] libiscsi: fix iscsi cmdsn allocation\n\nThe cmdsn allocation and pdu transmit code can race, and we can end\nup sending a pdu with cmdsn 10 before a pdu with 5. The target will\nthen fail the connection/session. This patch fixes the problem by\ndelaying the cmdsn allocation until we are about to send the pdu.\n\nThis also removes the xmitmutex. We were using the connection xmitmutex\nduring error handling to handle races with mtask and ctask cleanup and\ncompletion. For ctasks we now have nice refcounting and for the mtask,\nif we hit the case where the mtask timesout and it is floating\naround somewhere in the driver, we end up dropping the session.\nAnd to handle session level cleanup, we use the xmit suspend bit\nalong with scsi_flush_queue and the session lock to make sure\nthat the xmit thread is not possibly transmitting a task while\nwe are trying to kill it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "218432c68085d6c2b04df57daaf105d2ffa2aa61",
      "tree": "cdc4646cc1d20f16bea893fb366f24c3ea50f0af",
      "parents": [
        "b2c6416736b847b91950bd43cc5153e11a1f83ee"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:17 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:59:26 2007 -0400"
      },
      "message": "[SCSI] iscsi tcp: fix iscsi xmit state machine\n\nIf iscsi_tcp partially sends a header, it would recalculate the\nheader size and readd the size of the digest (if header digests\nare used).This would cause us to send sizeof(digest) extra bytes\nwhen we sent the rest of the header.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "b2c6416736b847b91950bd43cc5153e11a1f83ee",
      "tree": "7d7642d9b62b22aceedf8e86570783364ecd99d1",
      "parents": [
        "857ae0bdb72999936a28ce621e38e2e288c485da"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:16 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:58:58 2007 -0400"
      },
      "message": "[SCSI] iscsi class, iscsi_tcp, ib_iser: add sysfs chap file\n\nThe attached patches add sysfs files for the chap settings\nto the iscsi transport class, iscsi_tcp and ib_iser. This is\nneeded for software iscsi because there are times when iscsid\ncan die and it will need to reread the values it was using.\nAnd it is needed by qla4xxx for basic management opertaions.\nThis patch does not hook in qla4xxx yet, because I am not sure\nthe mbx command to use.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "857ae0bdb72999936a28ce621e38e2e288c485da",
      "tree": "cf1b9272c6c5bdb5448d016390bc2b07d435f5b3",
      "parents": [
        "d473cc7f15f64ab8a90c3d7288ef30f46785d8d5"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:15 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:58:22 2007 -0400"
      },
      "message": "[SCSI] iscsi: Some fixes in preparation for bidirectional support - total_length\n\n- Remove shadow of request length from struct iscsi_cmd_task.\n- change all users to use scsi_cmnd-\u003erequest_bufflen directly\n\n(With bidi we will use scsi-ml API to retrieve in/out length)\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: Benny Halevy \u003cbhalevy@panasas.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "d473cc7f15f64ab8a90c3d7288ef30f46785d8d5",
      "tree": "bef7d5c01842430fcd93f6a235ad404d1de1f5a3",
      "parents": [
        "8ad5781ae9702a8f95cfdf30967752e4297613ee"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:14 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:57:17 2007 -0400"
      },
      "message": "[SCSI] iscsi: Some fixes in preparation for bidirectional support - exp_datasn\n\nThis patch fixes handling of expected datasn/r2tsn as received from\ntarget. It is done according to: T10 rfc3720 section 3.2.2.3. Data Sequencing.\n\n. unify expected datasn/r2tsn into one counter\n. calculate than check expected datasn/r2tsn. On error print a message\n  and fail the request. (TODO use iscsi retransmits)\n. remove the FIXME   ;)\n. avoid zero length memset\n\nSigned-off-by: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nSigned-off-by: Benny Halevy \u003cbhalevy@panasas.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "8ad5781ae9702a8f95cfdf30967752e4297613ee",
      "tree": "caafde966ac7e9cda0e27e3b5412f25021d2d561",
      "parents": [
        "0801c242a33426fddc005c2f559a3d2fa6fca7eb"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:13 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:56:40 2007 -0400"
      },
      "message": "[SCSI] iscsi class, qla4xxx, iscsi_tcp, ib_iser: export/set initiator name\n\nFor iscsi root boot, software iscsi needs to know what the BIOS/OF\ninitiator used for the initiator name so this puts it in sysfs\nfor userspace to be able to pick up.\n\nFor hw iscsi, it is nice to see what the card is using.\n\nThis patch adds the new param, and hooks in qla4xxx, iscsi_tcp, and ib_iser.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nCc: David C Somayajulu \u003cdavid.somayajulu@qlogic.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "0801c242a33426fddc005c2f559a3d2fa6fca7eb",
      "tree": "be5b4b54766ee7f53458a5cd69e9f9ada8102676",
      "parents": [
        "1d9bf13a9cf91f8faf221e98a64dd1157bcf5fa9"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed May 30 12:57:12 2007 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Jun 01 12:55:23 2007 -0400"
      },
      "message": "[SCSI] libiscsi, iscsi_tcp, ib_iser : add sw iscsi host get/set params helpers\n\niscsid and udev need to key off the hw address being\nused so add some helpers for iser and iscsi tcp.\n\nAlso convert them\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "8eb00539d92187ade7e4cc24a1a36ab248ee8639",
      "tree": "06a0817931d57f5e8b0439761981798f17c2396a",
      "parents": [
        "41be14442213b6dbeea3cba2ed18a2923666278c"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Feb 28 17:32:19 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Mar 11 11:28:09 2007 -0500"
      },
      "message": "[SCSI] libiscsi: use get_unaligned\n\nDave Miller meantioned that the data buffer in a past\nsense fixup patch was not gauranteed to be aligned\nproperly for ia64. This patch has libiscsi use get_unalinged\nto make sure. There are a couple more places in the\ndigest handling we may need to do this, but we are in the middle\nof fixing that code for big endien systems so just the sense\naccess is fixed here.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "bf32ed33e97ac7905fa5a2bf49a634c2eaf62457",
      "tree": "99ce6524b813393a612e6a1b9564c92ac30f74a9",
      "parents": [
        "05db888a46866fd4eae643792c162e1a5c1a8612"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Feb 28 17:32:17 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Mar 11 11:26:50 2007 -0500"
      },
      "message": "[SCSI] iscsi: rename DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH\n\nThis patch renames DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH to avoid\nconfusion with the drivers default values (DEFAULT_MAX_RECV_DATA_SEGMENT_LENGTH\nis the iscsi RFC specific default).\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "05db888a46866fd4eae643792c162e1a5c1a8612",
      "tree": "19ebc2d112d318680b0e9cb34572d070ed571eff",
      "parents": [
        "779ea1207b6a43943faa44f41be7311263315604"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Feb 28 17:32:16 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Mar 11 11:26:05 2007 -0500"
      },
      "message": "[SCSI] libiscsi: clear mtask\n\nConsolidate the mtask clearing code.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "779ea1207b6a43943faa44f41be7311263315604",
      "tree": "5c08f4f9ff44416cfb92084cd10885697fb2016f",
      "parents": [
        "62d42a62770dd66da2d3df693e70f4e5fae1716a"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Feb 28 17:32:15 2007 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sun Mar 11 11:24:12 2007 -0500"
      },
      "message": "[SCSI] libiscsi: flush work before freeing connection\n\nIt\u0027s possible that we call iscsi_xmitworker after iscsi_conn_release\nwhich causes a oops. This patch flushes the workqueue.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "b4377356450e2358f5f92d34f130d6cb6574bf76",
      "tree": "c5f1d7fb258e115f6b3429942ea1eae944823799",
      "parents": [
        "04d4f7a1143e4fb291cd1584c9ac8de4ba584d34"
      ],
      "author": {
        "name": "Al Viro",
        "email": "viro@ftp.linux.org.uk",
        "time": "Fri Feb 09 16:39:40 2007 +0000"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Fri Feb 09 09:14:07 2007 -0800"
      },
      "message": "[PATCH] iscsi endianness annotations\n\nSigned-off-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "9b80cb4be1f4181875e0cf274dc59f42964fdf1b",
      "tree": "37587f07724c7382547f056e54e8a52e6e84a594",
      "parents": [
        "94cb3f822bb806a750e1e1c8457bee6e96671569"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Sun Dec 17 12:10:28 2006 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Jan 06 09:02:09 2007 -0600"
      },
      "message": "[SCSI] libiscsi: fix senselen calculation\n\nYanling Qi, noted that when the sense data length of\na check-condition is greater than 0x7f (127), senselen \u003d (data[0] \u003c\u003c 8)\n| data[1] will become negative. It causes different kinds of panics from\nGPF, spin_lock deadlock to spin_lock recursion.\n\nWe were also swapping this value on big endien machines.\n\nThis patch fixes both issues by using be16_to_cpu().\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "c4028958b6ecad064b1a6303a6a5906d4fe48d73",
      "tree": "1c4c89652c62a75da09f9b9442012007e4ac6250",
      "parents": [
        "65f27f38446e1976cc98fd3004b110fedcddd189"
      ],
      "author": {
        "name": "David Howells",
        "email": "dhowells@redhat.com",
        "time": "Wed Nov 22 14:57:56 2006 +0000"
      },
      "committer": {
        "name": "David Howells",
        "email": "dhowells@redhat.com",
        "time": "Wed Nov 22 14:57:56 2006 +0000"
      },
      "message": "WorkStruct: make allyesconfig\n\nFix up for make allyesconfig.\n\nSigned-Off-By: David Howells \u003cdhowells@redhat.com\u003e\n"
    },
    {
      "commit": "d6e24d1c8a197cc9c2a1568224474f4b7af50803",
      "tree": "0ce011f7b96de4cdff7f393fdba591167866c1e7",
      "parents": [
        "534284a09b3f58cd92acd0652b7267ee142932ba"
      ],
      "author": {
        "name": "Pete Wyckoff",
        "email": "pw@osc.edu",
        "time": "Wed Nov 08 15:58:32 2006 -0600"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.(none)",
        "time": "Fri Nov 10 09:41:44 2006 +0900"
      },
      "message": "[SCSI] iscsi: add newlines to debug messages\n\nSome messages from debug_scsi do not have trailing newlines,\nmaking console messages difficult to read.  Fix that.\n\nSigned-off-by: Pete Wyckoff \u003cpw@osc.edu\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "b5072ea0910e5c8c79b8313e0ef70ca763983dbf",
      "tree": "518228880851f5067553543bca314fa96436168d",
      "parents": [
        "5831c737f724aa6a655a908d202221f079f30036"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Oct 16 18:09:42 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed Oct 25 15:14:05 2006 -0700"
      },
      "message": "[SCSI] libiscsi: fix logout pdu processing\n\nAccording to the iscsi RFC, we cannot send other requests if\nwe have sent a logout pdu. This patch enforces this requirement\nby blocking the session and suspending the send thread. Userspace\ndecides if we restart the connection or if we just free everything.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "5831c737f724aa6a655a908d202221f079f30036",
      "tree": "4866b279a1c93b71577f7b3a1cf2c402638f46f9",
      "parents": [
        "cd529a46e17b43976d05c1e2ece2676ec7941cc8"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Oct 16 18:09:41 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed Oct 25 15:14:01 2006 -0700"
      },
      "message": "[SCSI] libiscsi: fix aen support\n\nWe have been dropping the pdu. We should just send it to userspace\nand let it handle it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "cd529a46e17b43976d05c1e2ece2676ec7941cc8",
      "tree": "b52d86911134d1d35f44d12171950c9aab07c887",
      "parents": [
        "98644047916c24258fb47c3dab2bed8a44f53b83"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Oct 16 18:09:40 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed Oct 25 15:13:57 2006 -0700"
      },
      "message": "[SCSI] libiscsi: fix missed iscsi_task_put in xmit error path\n\nfrom bhalevy@gmail.com:\n\nIt looks like change 652 to libiscsi.c added some dead code around line\n670\n                if (rc) {\n                        spin_unlock_bh(\u0026conn-\u003esession-\u003elock);\n                        goto again;\n                }\n\nsince 5 lines above we goto again if (rc).\n\nIt looks like the previous if (rc) should go away if we want to put the\nctask before\nbreaking out of the while loop with \"goto again\" (see following patch).\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "98644047916c24258fb47c3dab2bed8a44f53b83",
      "tree": "06b94a000abae5d4710786cc57a5ec424e09cc12",
      "parents": [
        "43a145a3440c5c5f24ff2888801e40e2242187e6"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Oct 16 18:09:39 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed Oct 25 15:13:53 2006 -0700"
      },
      "message": "[SCSI] libiscsi: fix oops in connection create failure path\n\nIf connection creation fails we end up calling list_del\non a invalid struct. This then causes an oops. We are not\nacutally using the lists (old MCS code we thought might\nbe useful elsewhere) so this patch just removes that\ncode.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "e648f63c6520d6e572573149c16a64d2c5ad7ec5",
      "tree": "4561ce970213236ec2c3ee732a053a8ae5917e99",
      "parents": [
        "f47f2cf5d4acf929a3aaa6957c3fc4622c358703"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:34 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:40 2006 -0500"
      },
      "message": "[SCSI] libiscsi: don\u0027t call into lld to cleanup task\n\nIn the normal IO path we should not be calling back\ninto the LLD since the LLD will have cleaned up the\ntask before or after calling complete pdu.\n\nFor the fail_command path we still need to do this\nto force the cleanup.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "f47f2cf5d4acf929a3aaa6957c3fc4622c358703",
      "tree": "6bf770ac6a789f926728b1881a7eee64a463404f",
      "parents": [
        "ca5186842a6d85e982e3d572ecd407453d0c5116"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:33 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:36 2006 -0500"
      },
      "message": "[SCSI] libiscsi: check that command ptr is set before accessing it\n\nIf the scsi eh sends a TUR and the session is down we could\nreturn SCSI_ML_HOST_BUSY. scsi eh will ignore this and send\nask us to abort the command and we blindly accesst the\ncommand ptr.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "db98ccde0881b8247acb52dece6d94ed770a7aa5",
      "tree": "6c3c32696b253bac7ed10625a0c57562d4bf7796",
      "parents": [
        "d5390f5f788f01788e9dfd41ad516a2908901610"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:31 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:28 2006 -0500"
      },
      "message": "[SCSI] libiscsi: only check burst lengths when sending unsol data\n\nThe first burst length is only relevant if immedate data \u003d Yes\nor if Initial R2T is No\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "62f383003c22cd34920d0412465eddcb1223da0d",
      "tree": "ca5091110dbf19df3f8031a590cd11229e6081e1",
      "parents": [
        "98a9416af08385f8497e9c1595113a81aefa5d49"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:27 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:14 2006 -0500"
      },
      "message": "[SCSI] iscsi_tcp: fix padding, data digests, and IO at weird offsets\n\niscsi_tcp calculates padding by using the expected transfer length. This\nhas the problem where if we have immediate data \u003d no and initial R2T \u003d\nyes, and the transfer length ended up needing padding then we send:\n\n1. header\n2. padding which should have gone after data\n3. data\n\nBesides this bug, we also assume the target will always ask for nice\ntransfer lengths and the first burst length will always be a nice value.\nAs far as I can tell form the RFC this is not a requirement. It would be\nsilly to do this, but if someone did it we will end doing bad things.\n\nFinally the last bug in that bit of code is in our handling of the\nrecalculation of data digests when we do not send a whole iscsi_buf in\none try. The bug here is that we call crypto_digest_final on a\niscsi_sendpage error, then when we send the rest of the iscsi_buf, we\ndoiscsi_data_digest_init and this causes the previous data digest to be\nlost.\n\nAnd to make matters worse, some of these bugs are replicated over and\nover and over again for immediate data, solicited data and unsolicited\ndata. So the attached patch made over the iscsi git tree (see\nkernel.org/git for details) which I updated today to include the patches\nI said I merged, consolidates the sending of data, padding and digests\nand calculation of data digests and fixes the above bugs.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "60ecebf5a10e42f5e2d6e07eb9e24bdee8500b81",
      "tree": "79b27fd89fe175daa4e4cd6feda8a6548c6d9bf1",
      "parents": [
        "ffd0436ed2e5a741c8d30062b489b989acf0a526"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:25 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:07 2006 -0500"
      },
      "message": "[SCSI] add refcouting around ctask usage in main IO patch\n\nIt is possible that a ctask could be completing and getting\ncleaned up at the same time, we are finishing up the last\ndata transfer. This could then result in the data transfer\ncode using stale or invalid values. This patch adds a refcount\nto the ctask. When the count goes to zero then we know the\ntransmit thread and recv thread or softirq are not touching\nit and we can safely release it.\n\nThe eh should not need to grab a reference because it only cleans\nup a task if it has both the xmit mutex and recv lock (or recv\nside suspended).\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "ffd0436ed2e5a741c8d30062b489b989acf0a526",
      "tree": "037433a76a116c67d3f074c5a83305be8241a8e5",
      "parents": [
        "e5b3cd42960a10c1bc3701d4f00767463c88ec9d"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Aug 31 18:09:24 2006 -0400"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat Sep 02 13:37:04 2006 -0500"
      },
      "message": "[SCSI] libiscsi, iscsi_tcp, iscsi_iser: check that burst lengths are valid.\n\niSCSI RFC states that the first burst length must be smaller than the\nmax burst length. We currently assume targets will be good, but that may\nnot be the case, so this patch adds a check.\n\nThis patch also moves the unsol data out offset to the lib so the LLDs\ndo not have to track it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "f3ff0c3627df90aa28be98803b10289bb348e4e6",
      "tree": "a387f0fade78bbcd337ee3ed962b76e92b482705",
      "parents": [
        "40527afea1a3b18ee5754e17d6f807176e03f1f2"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:50 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:50:02 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: fix mem leaks in libiscsi\n\nWe were leaking some strings. This patch just frees them.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "40527afea1a3b18ee5754e17d6f807176e03f1f2",
      "tree": "940bc089d28a5fe37ea2bae4b5532b090d9598e3",
      "parents": [
        "c8dc1e523b0f1e6dd71cdabd8c7d7587c6dc27f9"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:45 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:49:50 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: pass errors from complete_pdu to caller\n\nMust pass ISCSI_ERR values from the recv path and propogate them\nupwards.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "c8dc1e523b0f1e6dd71cdabd8c7d7587c6dc27f9",
      "tree": "466efa148c152f4330c92f02f81bc72e8f395114",
      "parents": [
        "9aaa2b4621280b6de1ecfb6dd7cd5cbe59fd1264"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:39 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:49:34 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: reduce memory allocations\n\nWe currently try to allocate a max_recv_data_segment_length\nwhich can be very large (default is 64K), and common uses\nare up to 1MB. It is very very difficult to allocte this\nmuch contiguous memory and it turns out we never even use it.\nWe really only need a couple of pages, so this patch has us\nallocates just what we know what we need today.\n\nLater if vendors start adding vendor specific data and\nwe need to handle large buffers we can do this, but for\nthe last 4 years we have not seen anyone do this or request\nit.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "63f75cc8a7e6ce453e38a7b90cdcae83d63f1ea7",
      "tree": "a85cfe4591f704ba163334c310ce824bff8fa9b5",
      "parents": [
        "1c83469d36a9dd30dbf1fb9fc5ca3be3a0e64ff4"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:29 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:49:01 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: fix oops when removing session\n\nWe are touching the cls_session after we have freed\nit. This causes a oops.\n\nSigned-off-by: Or Gerlitz  \u003cogerlitz@voltaire.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "1c83469d36a9dd30dbf1fb9fc5ca3be3a0e64ff4",
      "tree": "d20c53420f6596ebd6500562b294ef820a190887",
      "parents": [
        "7ea8b82847293c2311cf08fc3ed31ab0e452a27e"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:26 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:48:32 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: fix oops when iser is flushing io\n\nWhen we enter recovery and flush the running commands\nwe cannot freee the connection before flushing the commands.\nSome commands may have a reference to the connection\nthat needs to be released before. iscsi_stop was forcing\nthe term and suspend too early and was causing a oops\nin iser, so this patch removes those callbacks all together\nand allows the LLD to handle that detail.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "7ea8b82847293c2311cf08fc3ed31ab0e452a27e",
      "tree": "eab8e9be7cc779cc3c9e48774fcb4b33ebb2c8df",
      "parents": [
        "275fd7d129fdd16d1dc0ec6a8d60bd6b72a76e31"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:22 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:48:16 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: fix abort handling\n\nAbort handler fixes.\n\nIf a connection is dropped and reconnected while an abort is\nrunning then we should assume the recovery code will clean up\nthe abort. Not doing so causes a oops.\n\nAnd if a command completes then we get the status for the abort, we do not\nneed to call into the LLD to cleanup the resources. Doing this causes\nand oops in iser because it ends up freeing some resources twice.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "b6c395ed0387c824ddf125d3b74b576a2575c149",
      "tree": "76ca5cd982063335088384622e5033401bbc5057",
      "parents": [
        "d82967c70658a408ea6cae5dc989ba8b2c0999e1"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Mon Jul 24 15:47:15 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Jul 28 11:47:40 2006 -0500"
      },
      "message": "[SCSI] iscsi bugfixes: fix r2t handling\n\nThe iscsi tcp code can pluck multiple rt2s from the tasks\u0027s r2tqueue\nin the xmit code. This can result in the task being queued on the xmit queue\nbut gettting completed at the same time.\n\nThis patch fixes the above bug by making the fifo a list so\nwe always remove the entry on the list del.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "6a8a0d3621745279a131d95f0204dc9ddac60d55",
      "tree": "e3e856d0a8b3f0697a1e59492dd840dbd3babb8a",
      "parents": [
        "8434aa8b6fe5af27a33b8aa830c24e3680356c83"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Jun 28 12:00:31 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Thu Jun 29 11:09:06 2006 -0400"
      },
      "message": "[SCSI] iscsi: pass target nr to session creation\n\nSo the drivers do not use the channel numbers, but some do\nuse the target numbers. We were just adding some goofy\nvariable that just increases for the target nr. This is useless\nfor software iscsi because it is always zero. And for qla4xxx\nthe target nr is actually the index of the target/session\nin its FW or FLASH tables. We needed to expose this to userspace\nso apps could access those numbers so this patch just adds the\ntarget nr to the iscsi session creation functions. This way\nwhen qla4xxx\u0027s Hw thinks a session is at target nr 4\nin its hw, it is exposed as that number in sysfs.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "e6f3b63f50b4bb9fdc9025e0c3994acd265ad3a2",
      "tree": "ec5d681d2b7b203930e6cc1457b4f8aeee91439a",
      "parents": [
        "f53a88da18e3c04c3ade07bc5eff520ee4259c3e"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Jun 28 12:00:29 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Thu Jun 29 11:08:31 2006 -0400"
      },
      "message": "[SCSI] iscsi: rm channel usage from iscsi\n\nI do not remember what I was thinking when we added the channel\nas a argument to the session create function. It was probably\ndue to too much cut and paste work from the FC transport class.\n\nThe channel is meaningless for iscsi drivers so this patch drops\nits usage everywhere in the iscsi related code.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "f53a88da18e3c04c3ade07bc5eff520ee4259c3e",
      "tree": "a3b89b4d0e621d5dbf051fd7b2191de7f053d312",
      "parents": [
        "5c75b7fcf0c0e3921391fd93f5fa58ec9a6c428f"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Jun 28 12:00:27 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Thu Jun 29 11:08:10 2006 -0400"
      },
      "message": "[SCSI] iscsi: fix session refcouting\n\niscsi_tcp and iser cannot be rmmod from the kernel when sessions\nare running because session removal is driven from userspace. For\nthose modules we get a module reference when a session is\ncreated then drop it when the session is removed.\n\nFor qla4xxx, they can jsut remove the sessions from the pci remove\nfunction like normal HW drivers, so this patch moves the module\nreference from the transport class functions shared by all\ndrivers to the libiscsi functions only used be software iscsi\nmodules.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "a54a52caad4bd6166cb7fa64e4e93031fa2fda5d",
      "tree": "728672fae35fd344619129e78213043dabacf099",
      "parents": [
        "01cb225dad8da2e717356fab03240e2f4a8d01bf"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Wed Jun 28 12:00:23 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Thu Jun 29 11:07:14 2006 -0400"
      },
      "message": "[SCSI] iscsi: fixup set/get param functions\n\nReduce duplication in the software iscsi_transport modules by\nadding a libiscsi function to handle the common grunt work.\n\nThis also has the drivers return specifc -EXXX values for different\nerrors so userspace can finally handle them in a sane way.\n\nAlso just pass the sysfs buffers to the drivers so HW iscsi can\nget/set its string values, like targetname, and initiatorname.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "3219e5294150aee7d389e19029f49b44fb6b5c9f",
      "tree": "44236fd9f2eb40d5622cadb126e9f2672b129486",
      "parents": [
        "040515f53c09047c76ad074dc6a280984dc84b04"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 30 00:37:28 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Mon Jun 05 19:12:25 2006 -0400"
      },
      "message": "[SCSI] iscsi: fix writepsace race\n\nWe can race and misset the suspend bit if iscsi_write_space is\ncalled then iscsi_send returns with a failure indicating\nthere is no space.\n\nTo handle this this patch returns a error upwards allowing xmitworker\nto decide if we need to try and transmit again. For the no\nwrite space case xmitworker will not retry, and instead\nlet iscsi_write_space queue it back up if needed (this relies\non the work queue code to properly requeue us if needed).\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "040515f53c09047c76ad074dc6a280984dc84b04",
      "tree": "cf7a3ed3a34b925be4a842e04bbfab34f4a8a17d",
      "parents": [
        "994442e807782d68bb1d3ae34044f95990411a22"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 30 00:37:25 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Mon Jun 05 19:11:43 2006 -0400"
      },
      "message": "[SCSI] iscsi: return task found during search\n\nfrom davidw@netapp.com:\n\nremove task type should return a task on success.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "994442e807782d68bb1d3ae34044f95990411a22",
      "tree": "09535e792aabe72306c44c4eb8a962f1177edbf4",
      "parents": [
        "67a611149b2ac5f4af1e36bfffbfe3198cd3712c"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 30 00:37:22 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Mon Jun 05 19:11:18 2006 -0400"
      },
      "message": "[SCSI] iscsi: fix run list corruption\n\nfrom davidw@netapp.com:\n\nWe must grab the session lock when modifying the running lists.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "67a611149b2ac5f4af1e36bfffbfe3198cd3712c",
      "tree": "f74b70aefc16544901a3a3191bee8be8c467747d",
      "parents": [
        "9bf0a28c9a24e2cee5deecf89d118254374c75ba"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 30 00:37:20 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Mon Jun 05 19:10:45 2006 -0400"
      },
      "message": "[SCSI] iscsi: don\u0027t switch states when just cleaning up\n\nIf recovery failed or we are in recovery only overwrite the state\nif we are going to terminate the session or if we logged back in.\n\nSTOP_CONN_SUSPEND and conn_cnt are not used. We only support\na single connection session ATM, so cleanup that code while\nwe are working around it.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "656cffc95f0cb8211aa75eaca249e6ff4f59ec83",
      "tree": "7b10e224ef3ac140570101ed98c918949863995b",
      "parents": [
        "790f39a2d5f03623b027f340b945f135d006ceba"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu May 18 20:31:42 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat May 20 09:36:17 2006 -0500"
      },
      "message": "[SCSI] iscsi: fix command requeues during iscsi recovery\n\nDo not flush queues then block session. This will cause commands\nto needlessly swing around on us and remove goofy\nrecovery_failed field and replace with state value.\n\nAnd do not start recovery from within the host reset function.\nThis causeis too many problems becuase open-iscsi was desinged to\ncall out to userspace then have userpscae decide if we should\ngo into recovery or kill the session.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "d36ab6f3212053b260214bc915687765e2fd1178",
      "tree": "b06957a99c8094ba45de16498b623d2eae5db543",
      "parents": [
        "6e458cc943dd494ac68b570418f187883e555362"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu May 18 20:31:34 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Sat May 20 09:34:54 2006 -0500"
      },
      "message": "[SCSI] iscsi: only preallocate login buffer\n\nWe only use the mtask data buffer for login tasks so we do not\nneed to preallocate a buffer for every mtask. This saves\n8 * 31 KB.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "8d2860b3c3e933304f49171770658c00ed26fd79",
      "tree": "979395449d53d41bd22732a4be1387f9af73a994",
      "parents": [
        "be2df72e7ec5fa5e6e1ccccab6cef97ecbb9c191"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 02 19:46:47 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed May 10 10:13:21 2006 -0500"
      },
      "message": "[SCSI] iscsi: increment expstatsn during login\n\ndebugged by Ming and Rohan:\n\nThe problem Ming and Rohan debugged was that during a normal session\nlogin, open-iscsi is not incrementing the exp_statsn counter. It was\nstuck at zero. From the RFC, it looks like if the login response PDU has\na successful status then we should be incrementing that value. Also from\nthe RFC, it looks like if when we drop a connection then reconnect, we\nshould be using the exp_statsn from the old connection in the next\nrelogin attempt.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "be2df72e7ec5fa5e6e1ccccab6cef97ecbb9c191",
      "tree": "f4a78a36be0fac5304960e615ad46cc127cf6306",
      "parents": [
        "ed2abc7ff19dc99c6242a70f8578a17b2ff0d0ce"
      ],
      "author": {
        "name": "Or Gerlitz",
        "email": "ogerlitz@voltaire.com",
        "time": "Tue May 02 19:46:43 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed May 10 10:12:52 2006 -0500"
      },
      "message": "[SCSI] iscsi: align printks\n\nalign printk output\n\nSigned-off-by: Or Gerlitz \u003cogerlitz@voltaire.com\u003e\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "ed2abc7ff19dc99c6242a70f8578a17b2ff0d0ce",
      "tree": "3bf226387f002ee6c67619afd1a950e1d0bde30f",
      "parents": [
        "264faaaa12544e7914928ad57ccba21907cad56b"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Tue May 02 19:46:40 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Wed May 10 10:12:04 2006 -0500"
      },
      "message": "[SCSI] iscsi: fix manamgement task oops\n\nfrom patmans@us.ibm.com and michaelc@cs.wisc.edu\n\nFix bugs when forcing a mgmt task to fail and allow\nsession recovery to cleanup the session/connection\nof any running mgmt tasks. When called during\nthe in login state.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    },
    {
      "commit": "7996a778ff8c717cb1a7a294475c59cc8f1e9fb8",
      "tree": "3d7ee67ad547a65ad10f5c7e41e20f6124ee249b",
      "parents": [
        "30a6c65236f9d26e3325cae468f330b833a3878c"
      ],
      "author": {
        "name": "Mike Christie",
        "email": "michaelc@cs.wisc.edu",
        "time": "Thu Apr 06 21:13:41 2006 -0500"
      },
      "committer": {
        "name": "James Bottomley",
        "email": "jejb@mulgrave.il.steeleye.com",
        "time": "Fri Apr 14 14:09:00 2006 -0500"
      },
      "message": "[SCSI] iscsi: add libiscsi\n\nThere is a lot of code duplcited between iscsi_tcp\nand the upcoming iscsi_iser driver. This patch puts\nthe duplicated code in a lib. There is more code\nto move around but this takes care of the\nbasics. For iscsi_offload if they use the lib we will\nprobably move some things around. For example in the\nqueuecommand we will not assume that the LLD wants\nto do queue_work, but it is better to handle that\nlater when we know for sure what iscsi_offload looks\nlike (we could probably do this for iscsi_iser though to).\n\nIdeally I would like to get the iscsi_transports modules\nto a place where all they really have to do is put data\non the wire, but how to do that will hopefully be more clear\nwhen we see other modules like iscsi_offload. Or maybe\niscsi_offload will not use the lib and it will just be\niscsi_iser and iscsi_tcp and maybe the iscsi_tcp_tgt if that\nis allowed in mainline.\n\nSigned-off-by: Mike Christie \u003cmichaelc@cs.wisc.edu\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n"
    }
  ]
}
