1. 12 11月, 2014 2 次提交
  2. 10 7月, 2013 1 次提交
    • D
      [SCSI] scsi constants: command, sense key + additional sense strings · 655ee63c
      Douglas Gilbert 提交于
      It has been several years since the SCSI constants.c
      file has been updated. The attached is against lk 3.10
      and brings the command strings, sense keys and additional
      sense code strings into sync with spc4r36g.pdf.
      
      Certain SCSI command names that previously only took the
      opcode (i.e. byte 0 of the cdb) into account, have been
      split into several command names using the associated
      service action field to differentiate. For example,
      persistent reservations that previously had 2 commands
      (i.e. "in" and "out") have been expanded to 12 commands
      (e.g. "Persistent reserve in, read reservation").
      
      Sync SCSI command names, sense key strings and additional
      sense code strings with SPC-4 draft revision 36g
      
      [jejb: whitespace fix]
      Signed-off-by: NDouglas Gilbert <dgilbert@interlog.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      655ee63c
  3. 14 9月, 2012 1 次提交
  4. 10 5月, 2011 1 次提交
  5. 16 4月, 2011 1 次提交
  6. 03 9月, 2010 1 次提交
  7. 20 2月, 2010 2 次提交
  8. 05 12月, 2009 1 次提交
  9. 23 8月, 2009 1 次提交
  10. 13 3月, 2009 1 次提交
  11. 13 10月, 2008 1 次提交
    • M
      [SCSI] scsi: add transport host byte errors (v3) · a4dfaa6f
      Mike Christie 提交于
      Currently, if there is a transport problem the iscsi drivers will return
      outstanding commands (commands being exeucted by the driver/fw/hw) with
      DID_BUS_BUSY and block the session so no new commands can be queued.
      Commands that are caught between the failure handling and blocking are
      failed with DID_IMM_RETRY or one of the scsi ml queuecommand return values.
      When the recovery_timeout fires, the iscsi drivers then fail IO with
      DID_NO_CONNECT.
      
      For fcp, some drivers will fail some outstanding IO (disk but possibly not
      tape) with DID_BUS_BUSY or DID_ERROR or some other value that causes a retry
      and hits the scsi_error.c failfast check, block the rport, and commands
      caught in the race are failed with DID_IMM_RETRY. Other drivers, may
      hold onto all IO and wait for the terminate_rport_io or dev_loss_tmo_callbk
      to be called.
      
      The following patches attempt to unify what upper layers will see drivers
      like multipath can make a good guess. This relies on drivers being
      hooked into their transport class.
      
      This first patch just defines two new host byte errors so drivers can
      return the same value for when a rport/session is blocked and for
      when the fast_io_fail_tmo fires.
      
      The idea is that if the LLD/class detects a problem and is going to block
      a rport/session, then if the LLD wants or must return the command to scsi-ml,
      then it can return it with DID_TRANSPORT_DISRUPTED. This will requeue
      the IO into the same scsi queue it came from, until the fast io fail timer
      fires and the class decides what to do.
      
      When using multipath and the fast_io_fail_tmo fires then the class
      can fail commands with DID_TRANSPORT_FAILFAST or drivers can use
      DID_TRANSPORT_FAILFAST in their terminate_rport_io callbacks or
      the equivlent in iscsi if we ever implement more advanced recovery methods.
      A LLD, like lpfc, could continue to return DID_ERROR and then it will hit
      the normal failfast path, so drivers do not have fully be ported to
      work better. The point of the patches is that upper layers will
      not see a failure that could be recovered from while the rport/session is
      blocked until fast_io_fail_tmo/recovery_timeout fires.
      
      V3
      Remove some comments.
      V2
      Fixed patch/diff errors and renamed DID_TRANSPORT_BLOCKED to
      DID_TRANSPORT_DISRUPTED.
      V1
      initial patch.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      a4dfaa6f
  12. 03 5月, 2008 1 次提交
  13. 12 1月, 2008 2 次提交
  14. 13 10月, 2007 2 次提交
  15. 12 3月, 2007 2 次提交
  16. 09 7月, 2006 1 次提交
  17. 01 7月, 2006 1 次提交
  18. 11 6月, 2006 1 次提交
  19. 10 6月, 2006 1 次提交
  20. 16 12月, 2005 1 次提交
  21. 14 12月, 2005 1 次提交
  22. 29 10月, 2005 1 次提交
  23. 29 8月, 2005 2 次提交
  24. 19 4月, 2005 1 次提交
  25. 17 4月, 2005 2 次提交
    • [PATCH] remove outdated print_* functions · 1409277c
      提交于
      We have the scsi_print_* functions in the proper namespace for a long
      time now and there weren't a lot users left.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      1409277c
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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!
      1da177e4