1. 16 3月, 2014 4 次提交
  2. 20 12月, 2013 1 次提交
  3. 19 12月, 2013 2 次提交
    • S
      [SCSI] hpsa: prevent stalled i/o · 396883e2
      Stephen M. Cameron 提交于
      If a fifo full condition is encountered, i/o requests will stack
      up in the h->reqQ queue.  The only thing which empties this queue
      is start_io, which only gets called when new i/o requests come in.
      If none are forthcoming, i/o in h->reqQ will be stalled.
      
      To fix this, whenever fifo full condition is encountered, this
      is recorded, and the interrupt handler examines this to see
      if a fifo full condition was recently encountered when a
      command completes and will call start_io to prevent i/o's in
      h->reqQ from getting stuck.
      
      I've only ever seen this problem occur when running specialized
      test programs that pound on the the CCISS_PASSTHRU ioctl.
      Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      396883e2
    • S
      [SCSI] hpsa: cap CCISS_PASSTHRU at 20 concurrent commands. · 0390f0c0
      Stephen M. Cameron 提交于
      Cap CCISS_BIG_PASSTHRU as well.  If an attempt is made
      to exceed this, ioctl() will return -1 with errno == EAGAIN.
      
      This is to prevent a userland program from exhausting all of
      pci_alloc_consistent memory.  I've only seen this problem when
      running a special test program designed to provoke it.  20
      concurrent commands via the passthru ioctls (not counting SG_IO)
      should be more than enough.
      Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      0390f0c0
  4. 26 8月, 2013 1 次提交
  5. 10 5月, 2012 6 次提交
  6. 19 2月, 2012 2 次提交
  7. 30 10月, 2011 4 次提交
  8. 27 7月, 2011 1 次提交
  9. 17 5月, 2011 5 次提交
  10. 19 2月, 2011 2 次提交
  11. 25 1月, 2011 1 次提交
  12. 22 12月, 2010 1 次提交
  13. 28 7月, 2010 1 次提交
  14. 03 3月, 2010 2 次提交
  15. 18 2月, 2010 7 次提交