1. 10 4月, 2015 1 次提交
    • B
      ipr: Reboot speed improvements · 4fdd7c7a
      Brian King 提交于
      Currently when performing a reboot with an ipr adapter,
      the adapter gets shutdown completely, flushing all write
      cache, as well as performing a full hardware reset of the card
      during the shutdown phase of the old kernel. This ensures
      the adapter is in a fully quiesced state across the reboot.
      
      There are scenarios, however, such as when performing
      kexec, where this full adapter shutdown is not required
      and not desired, since it can make the reboot process take
      noticeably longer.
      
      This patch adds a module parameter to allow for skipping the
      full shutdown during reboot. Rather than performing a full
      adapter shutdown and reset, we simply cancel any outstanding
      error buffers, place the adapter into a state where it has no
      memory of any DMA addresses from the old kernel, then disable
      the device. This significantly speeds up kexec boot, particularly
      in configurations with multiple ipr adapters.
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Reviewed-by: NWen Xiong <wenxiong@linux.vnet.ibm.com>
      Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com>
      Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
      4fdd7c7a
  2. 19 1月, 2015 1 次提交
    • B
      ipr: wait for aborted command responses · 6cdb0817
      Brian King 提交于
      Fixes a race condition in abort handling that was injected
      when multiple interrupt support was added. When only a single
      interrupt is present, the adapter guarantees it will send
      responses for aborted commands prior to the response for the
      abort command itself. With multiple interrupts, these responses
      generally come back on different interrupts, so we need to
      ensure the abort thread waits until the aborted command is
      complete so we don't perform a double completion. This race
      condition was being hit frequently in environments which
      were triggering command timeouts, which was resulting in
      a double completion causing a kernel oops.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Reviewed-by: NWendy Xiong <wenxiong@linux.vnet.ibm.com>
      Tested-by: NWendy Xiong <wenxiong@linux.vnet.ibm.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      6cdb0817
  3. 15 12月, 2014 2 次提交
  4. 04 12月, 2014 2 次提交
  5. 24 11月, 2014 1 次提交
  6. 12 11月, 2014 6 次提交
  7. 25 9月, 2014 1 次提交
  8. 20 3月, 2014 7 次提交
  9. 13 3月, 2014 1 次提交
    • J
      block: remove old blk_iopoll_enabled variable · 89f8b33c
      Jens Axboe 提交于
      This was a debugging measure to toggle enabled/disabled
      when testing. But for real production setups, it's not
      safe to toggle this setting without either reloading
      drivers of quiescing IO first. Neither of which the toggle
      enforces.
      
      Additionally, it makes drivers deal with the conditional
      state.
      
      Remove it completely. It's up to the driver whether iopoll
      is enabled or not.
      Signed-off-by: NJens Axboe <axboe@fb.com>
      89f8b33c
  10. 19 12月, 2013 1 次提交
  11. 29 11月, 2013 1 次提交
    • M
      [SCSI] Disable WRITE SAME for RAID and virtual host adapter drivers · 54b2b50c
      Martin K. Petersen 提交于
      Some host adapters do not pass commands through to the target disk
      directly. Instead they provide an emulated target which may or may not
      accurately report its capabilities. In some cases the physical device
      characteristics are reported even when the host adapter is processing
      commands on the device's behalf. This can lead to adapter firmware hangs
      or excessive I/O errors.
      
      This patch disables WRITE SAME for devices connected to host adapters
      that provide an emulated target. Driver writers can disable WRITE SAME
      by setting the no_write_same flag in the host adapter template.
      
      [jejb: fix up rejections due to eh_deadline patch]
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      Cc: stable@kernel.org
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      54b2b50c
  12. 26 8月, 2013 1 次提交
  13. 27 6月, 2013 3 次提交
  14. 05 6月, 2013 1 次提交
  15. 02 6月, 2013 1 次提交
  16. 13 5月, 2013 1 次提交
  17. 03 5月, 2013 2 次提交
  18. 06 4月, 2013 3 次提交
  19. 24 2月, 2013 1 次提交
  20. 30 1月, 2013 3 次提交