1. 28 6月, 2013 1 次提交
  2. 05 12月, 2012 1 次提交
    • V
      libfc: fix REC handling · 5b97fabd
      Vasu Dev 提交于
      Currently fc_fcp_timeout doesn't check FC_RP_FLAGS_REC_SUPPORTED
      flag first, this prevents REC request ever going out at all
      to the target having REC support. So this patches fixes the
      fc_fcp_timeout by checking FC_RP_FLAGS_REC_SUPPORTED flag first.
      
      The changed order won't cause any issue during clearing
      FC_RP_FLAGS_REC_SUPPORTED on failed IO with target not supporting
      FC_RP_FLAGS_REC_SUPPORTED, since retry on failed IO would succeed.
      Signed-off-by: NVasu Dev <vasu.dev@intel.com>
      Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
      Signed-off-by: NRobert Love <robert.w.love@intel.com>
      5b97fabd
  3. 07 10月, 2012 1 次提交
  4. 20 7月, 2012 3 次提交
  5. 20 3月, 2012 1 次提交
  6. 26 2月, 2012 1 次提交
  7. 16 1月, 2012 1 次提交
  8. 03 10月, 2011 1 次提交
  9. 29 8月, 2011 1 次提交
  10. 28 7月, 2011 4 次提交
  11. 25 5月, 2011 3 次提交
  12. 01 5月, 2011 2 次提交
  13. 31 3月, 2011 1 次提交
  14. 13 2月, 2011 5 次提交
  15. 22 12月, 2010 9 次提交
  16. 17 11月, 2010 1 次提交
    • J
      SCSI host lock push-down · f281233d
      Jeff Garzik 提交于
      Move the mid-layer's ->queuecommand() invocation from being locked
      with the host lock to being unlocked to facilitate speeding up the
      critical path for drivers who don't need this lock taken anyway.
      
      The patch below presents a simple SCSI host lock push-down as an
      equivalent transformation.  No locking or other behavior should change
      with this patch.  All existing bugs and locking orders are preserved.
      
      Additionally, add one parameter to queuecommand,
      	struct Scsi_Host *
      and remove one parameter from queuecommand,
      	void (*done)(struct scsi_cmnd *)
      
      Scsi_Host* is a convenient pointer that most host drivers need anyway,
      and 'done' is redundant to struct scsi_cmnd->scsi_done.
      
      Minimal code disturbance was attempted with this change.  Most drivers
      needed only two one-line modifications for their host lock push-down.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Acked-by: NJames Bottomley <James.Bottomley@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f281233d
  17. 02 11月, 2010 1 次提交
  18. 26 10月, 2010 2 次提交
  19. 07 8月, 2010 1 次提交