1. 03 2月, 2015 12 次提交
  2. 20 11月, 2014 2 次提交
  3. 02 6月, 2014 6 次提交
  4. 20 5月, 2014 1 次提交
  5. 16 3月, 2014 14 次提交
  6. 20 12月, 2013 1 次提交
  7. 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
  8. 26 8月, 2013 1 次提交
  9. 10 5月, 2012 1 次提交
    • S
      [SCSI] hpsa: dial down lockup detection during firmware flash · e85c5974
      Stephen M. Cameron 提交于
      Dial back the aggressiveness of the controller lockup detection thread.
      Currently it will declare the controller to be locked up if it goes
      for 10 seconds with no interrupts and no change in the heartbeat
      register.  Dial back this to 30 seconds with no heartbeat change, and
      also snoop the ioctl path and if a firmware flash command is detected,
      dial it back further to 4 minutes until the firmware flash command
      completes.  The reason for this is that during the firmware flash
      operation, the controller apparently doesn't update the heartbeat
      register as frequently as it is supposed to, and we can get a false
      positive.
      Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      e85c5974