1. 23 3月, 2017 14 次提交
  2. 21 1月, 2017 4 次提交
  3. 06 1月, 2017 1 次提交
  4. 06 12月, 2016 1 次提交
  5. 25 11月, 2016 6 次提交
  6. 09 11月, 2016 1 次提交
  7. 15 9月, 2016 5 次提交
  8. 26 8月, 2016 5 次提交
  9. 16 4月, 2016 1 次提交
  10. 01 3月, 2016 2 次提交
    • J
      hisi_sas: add hisi_sas_slave_configure() · 31eec8a6
      John Garry 提交于
      In high-datarate aging tests, it is found that the
      SCSI framework can periodically issue lu resets as
      some commands timeout.
      Response TASK SET FULL and SAS_QUEUE_FULL may be
      returned many times for the same command, causing the
      timeouts.
      The SAS_QUEUE_FULL errors come from
      TRANS_TX_CREDIT_TIMEOUT_ERR, TRANS_TX_CLOSE_NORMAL_ERR,
      and TRANS_TX_ERR_FRAME_TXED errors. They do not mean
      that the queue is full in the host, but rather it is
      equivalent to meaning the queue is full for the sdev.
      To overcome this, the queue depth for the sdev is
      reduced to 64 (from 256, set in sas_slave_configure()).
      Normally error code SAS_QUEUE_FULL will result in the
      sdev queue depth falling, but it falls too slowly during
      high-datarate tests and commands timeout before it
      has fallen to an adequete level from original value.
      Signed-off-by: NJohn Garry <john.garry@huawei.com>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      31eec8a6
    • J
      hisi_sas: add hisi_sas_slot_abort() · cac9b2a2
      John Garry 提交于
      Add a function to abort a slot (task) in the target
      device and then cleanup and complete the task.
      The function is called from work queue context as
      it cannot be called from the context where it is
      triggered (interrupt).
      Flag hisi_sas_slot.abort is added as the flag used
      in the slot error handler to indicate whether the
      slot needs to be aborted in the sdev prior to
      cleanup and finish.
      Signed-off-by: NJohn Garry <john.garry@huawei.com>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      cac9b2a2