1. 03 3月, 2010 1 次提交
  2. 18 2月, 2010 1 次提交
    • M
      [SCSI] libiscsi: reset cmd timer if cmds are making progress · 92ed4d69
      Mike Christie 提交于
      This patch resets the cmd timer if cmds started before
      the timedout command are making progress. The idea is
      that the cmd probably timed out because we are trying
      to exeucte too many commands. If it turns out that the
      device the IO timedout on was bad or the cmd just got
      screwed up but other IO/devs were ok then we will
      will figure this out when the cmds ahead of the timed
      out one complete ok.
      
      This also fixes a bug where we were sort of detecting
      this by setting the last_timeout and last_xfer to the
      same value when the task was allocated. That caught
      the case where we never got to send any IO for it. However,
      if the problem had started right before we started the
      new task, then we were forced to wait an extra cmd
      timeout seconds to start the scsi eh.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      92ed4d69
  3. 23 12月, 2009 4 次提交
  4. 05 12月, 2009 5 次提交
  5. 03 10月, 2009 1 次提交
  6. 12 9月, 2009 2 次提交
  7. 05 9月, 2009 3 次提交
  8. 30 7月, 2009 1 次提交
  9. 21 6月, 2009 2 次提交
  10. 24 5月, 2009 11 次提交
  11. 27 4月, 2009 1 次提交
  12. 03 4月, 2009 1 次提交
    • J
      [SCSI] libiscsi: fix iscsi pool error path · fd6e1c14
      Jean Delvare 提交于
      Le lundi 30 mars 2009, Chris Wright a écrit :
      > q->queue could be ERR_PTR(-ENOMEM) which will break unwinding
      > on error.  Make iscsi_pool_free more defensive.
      >
      
      Making the freeing of q->queue dependent on q->pool being set looks
      really weird (although it is correct at the moment. But this seems
      to be fixable in a much simpler way.
      
      With the benefit that only the error case is slowed down. In both
      cases we have a problem if q->queue contains an error value but it's
      not -ENOMEM. Apparently this can't happen today, but it doesn't feel
      right to assume this will always be true. Maybe it's the right time
      to fix this as well.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      fd6e1c14
  13. 14 3月, 2009 7 次提交