1. 01 8月, 2014 1 次提交
  2. 26 7月, 2014 5 次提交
  3. 16 3月, 2014 4 次提交
  4. 03 12月, 2013 1 次提交
  5. 25 10月, 2013 4 次提交
  6. 26 8月, 2013 1 次提交
  7. 05 6月, 2013 2 次提交
  8. 10 5月, 2013 10 次提交
  9. 04 1月, 2013 1 次提交
    • G
      Drivers: scsi: remove __dev* attributes. · 6f039790
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Adam Radford <linuxraid@lsi.com>
      Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6f039790
  10. 10 5月, 2012 1 次提交
    • M
      [SCSI] pm8001: raise host can queue · 99c72ebc
      Mark Salyzyn 提交于
      This is a followup to a patch provided by Jack Wang on September 21 2011.
      
      After increasing the CAN_QUEUE to 510 in pm8001 we discovered some performance
      degredation from time to time. We needed to increase the MPI queue to
      compensate and ensure we never hit that limit. We also needed to double
      the margin to support event and administrivial commands that take from
      the pool resulting in an occasional largely unproductive command completion
      with soft error to the caller when the command pool is overloaded temporarily.
      Signed-off-by: NMark Salyzyn <mark_salyzyn@xyratex.com>
      Acked-by: NJack Wang <jack_wang@usish.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      99c72ebc
  11. 24 4月, 2012 1 次提交
  12. 28 3月, 2012 1 次提交
  13. 01 3月, 2012 3 次提交
  14. 19 2月, 2012 2 次提交
    • M
      [SCSI] pm8001: deficient responses to IO_XFER_ERROR_BREAK and IO_XFER_OPEN_RETRY_TIMEOUT · 5954d738
      Mark Salyzyn 提交于
      IO_XFER_ERROR_BREAK and IO_XFER_OPEN_RETRY_TIMEOUT are deficient of the
      required actions as outlined in the programming manual for the pm8001. Due to
      the overlapping code requirements of these recovery responses, we found it
      necessary to bundle them together into one patch.
      
      When a break is received during the command phase (ssp_completion), this is a
      result of a timeout or interruption on the bus. Logic suggests that we should
      retry the command.
      
      When a break is received during the data-phase (ssp_event), the task must be
      aborted on the target or it will retain a data-phase lock turning the target
      reticent to all future media commands yet will successfully respond to TUR,
      INQUIRY and ABORT leading eventually to target failure through several
      abort-cycle loops.
      
      The open retry interval is exceedingly short resulting in occasional target
      drop-off during expander resets or when targets push-back during bad-block
      remapping. Increased effective timeout from 130ms to 1.5 seconds for each try
      so as to trigger after the administrative inquiry/tur timeout in the scsi
      subsystem to keep error-recovery harmonics to a minimum.
      
      When an open retry timeout event is received, the action required by the
      targets is to issue an abort for the outstanding command then logic suggests
      we retry the command as this state is usually an indication of a credit block
      or busy condition on the target.
      
      We hijacked the pm8001_handle_event work queue handler so that it will handle
      task as an argument instead of device for the workers in support of the
      deferred handling outlined above.
      
      Moderate to Heavy bad-path testing on a 2.6.32 vintage kernel, compile-testing
      on scsi-misc-2.6 kernel ...
      Signed-off-by: NMark Salyzyn <mark_salyzyn@xyratex.com>
      Acked-by: NJack Wang <jack_wang@usish.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      5954d738
    • M
      [SCSI] pm8001: Add FUNC_GET_EVENTS · d95d0001
      Mark Salyzyn 提交于
      Jack noticed I dropped a patch fragment associated with a flags automatic
      variable in mpi_set_phys_g3_with_ssc (ooops) and that the pre-emptive locking
      that piggy-backed this patch was not in-fact necessary because of underlying
      atomic accesses to the hardware. Here is the updated patch fixing these two
      issues.
      
      The pm8001 driver is missing the FUNC_GET_EVENTS handler in the phy control
      function. Since the pm8001_bar4_shift function was not designed to be called
      at runtime, added locking surrounding the adjustment for all accesses.
      Signed-off-by: NMark Salyzyn <mark_salyzyn@xyratex.com>
      Acked-by: NJack Wang <jack_wang@usish.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      d95d0001
  15. 04 2月, 2012 1 次提交
  16. 03 10月, 2011 1 次提交
    • M
      [SCSI] pm8001: missing break statements · 6fbc7692
      Mark Salyzyn 提交于
      Code Inspection: found two missing break directives. First one will
      result in not retrying an a task that report
      IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY, the second will result in cosmetic
      debug printk conflicting statement stutter. Because checkpatch.pl came
      up with a warning regarding unnecessary space before a newline on one of
      the fragments associated with the diff context, I took the liberty of
      fixing all the cases of this issue in the pair of files touched by this
      defect. These cosmetic changes hide the break changes :-(
      
      To help focus, break changes are in pm8001_hwi.c fragment line 1649 for
      the IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY case statement and pm8001_sas.c
      line 1000 deals with the conflicting debug print stutter.
      Signed-off-by: NMark Salyzyn <mark_salyzyn@us.xyratex.com>
      Acked-by: NJack Wang <jack_wang@usish.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      6fbc7692
  17. 31 3月, 2011 1 次提交