1. 14 Mar, 2006 1 commit
  2. 27 Feb, 2006 3 commits
  3. 26 Jan, 2006 1 commit
    • brking@us.ibm.com's avatar
      [SCSI] Prevent scsi_execute_async from guessing cdb length · bb1d1073
      brking@us.ibm.com authored
      When the scsi_execute_async interface was added it ended up reducing
      the flexibility of userspace to send arbitrary scsi commands through
      sg using SG_IO. The SG_IO interface allows userspace to specify the
      CDB length. This is now ignored in scsi_execute_async and it is
      guessed using the COMMAND_SIZE macro, which is not always correct,
      particularly for vendor specific commands. This patch adds a cmd_len
      parameter to the scsi_execute_async interface to allow the caller
      to specify the length of the CDB.
      Signed-off-by: default avatarBrian King <brking@us.ibm.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
  4. 14 Dec, 2005 1 commit
    • Mike Christie's avatar
      [SCSI] Convert SCSI mid-layer to scsi_execute_async · 6e68af66
      Mike Christie authored
      Add scsi helpers to create really-large-requests and convert
      scsi-ml to scsi_execute_async().
      Per Jens's previous comments, I placed this function in scsi_lib.c.
      I made it follow all the queue's limits - I think I did at least :), so
      I removed the warning on the function header.
      I think the scsi_execute_* functions should eventually take a request_queue
      and be placed some place where the dm-multipath hw_handler can use them
      if that failover code is going to stay in the kernel. That conversion
      patch will be sent in another mail though.
      Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
  5. 13 Dec, 2005 1 commit
  6. 28 Oct, 2005 2 commits
  7. 25 Sep, 2005 1 commit
  8. 10 Sep, 2005 1 commit
  9. 28 Aug, 2005 3 commits
  10. 14 Jul, 2005 2 commits
    • James Bottomley's avatar
      [SCSI] fix function prototype warning · e10fb91c
      James Bottomley authored
      int_to_scsilun() takes a pointer to a struct scsi_lun in it's
      prototype, so add this structure to scsi_device.h to avoid declaration
      inside function prototype warnings.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    • James.Smart@Emulex.Com's avatar
      [SCSI] add int_to_scsilun() function · 2f4701d8
      James.Smart@Emulex.Com authored
      One of the issues we had was reverting the midlayers lun value
      into the 8byte lun value that we wanted to send to the device.
      Historically, there's been some combination of byte swapping,
      setting high/low, etc. There's also been no common thread between
      how our driver did it and others.  I also got very confused as
      to why byteswap routines were being used.
      Anyway, this patch is a LLDD-callable function that reverts the
      midlayer's lun value, stored in an int, to the 8-byte quantity
      (note: this is not the real 8byte quantity, just the same amount
      that scsilun_to_int() was able to convert and store originally).
      This also solves the dilemma of the thread:
      A patch for the lpfc driver to use this function will be along
      in a few days (batched with other patches).
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
  11. 26 May, 2005 1 commit
  12. 18 Apr, 2005 1 commit
  13. 16 Apr, 2005 3 commits
    • 's avatar
      updates for CFQ oops fix · c2a9331c
      - add a comment to the device structure that the device_busy field
        is now protected by the request_queue->queue_lock
      - null out sdev->request_queue after the queue is released to trap
        any (and there shouldn't be any) use after the queue is freed.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    • 's avatar
      [PATCH] fix NMI lockup with CFQ scheduler · 152587de
      The current problem seen is that the queue lock is actually in the
      SCSI device structure, so when that structure is freed on device
      release, we go boom if the queue tries to access the lock again.
      The fix here is to move the lock from the scsi_device to the queue.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      Let it rip!