1. 27 6月, 2017 1 次提交
  2. 13 6月, 2017 2 次提交
  3. 20 4月, 2017 1 次提交
    • C
      scsi: storvsc: Add support for FC rport. · daf0cd44
      Cathy Avery 提交于
      Included in the current storvsc driver for Hyper-V is the ability to
      access luns on an FC fabric via a virtualized fiber channel adapter
      exposed by the Hyper-V host. The driver also attaches to the FC
      transport to allow host and port names to be published under
      /sys/class/fc_host/hostX. Current customer tools running on the VM
      require that these names be available in the well known standard
      location under fc_host/hostX.
      
      This patch stubs in an rport per fc_host and sets its rport role as
      FC_PORT_ROLE_FCP_DUMMY_INITIATOR to indicate to the fc_transport that it
      is a pseudo rport in order to scan the scsi stack via echo "- - -" >
      /sys/class/scsi_host/hostX/scan.
      Signed-off-by: NCathy Avery <cavery@redhat.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      daf0cd44
  4. 14 4月, 2017 2 次提交
  5. 08 3月, 2017 1 次提交
    • S
      scsi: storvsc: Workaround for virtual DVD SCSI version · f1c635b4
      Stephen Hemminger 提交于
      Hyper-V host emulation of SCSI for virtual DVD device reports SCSI
      version 0 (UNKNOWN) but is still capable of supporting REPORTLUN.
      
      Without this patch, a GEN2 Linux guest on Hyper-V will not boot 4.11
      successfully with virtual DVD ROM device. What happens is that the SCSI
      scan process falls back to doing sequential probing by INQUIRY.  But the
      storvsc driver has a previous workaround that masks/blocks all errors
      reports from INQUIRY (or MODE_SENSE) commands.  This workaround causes
      the scan to then populate a full set of bogus LUN's on the target and
      then sends kernel spinning off into a death spiral doing block reads on
      the non-existent LUNs.
      
      By setting the correct blacklist flags, the target with the DVD device
      is scanned with REPORTLUN and that works correctly.
      
      Patch needs to go in current 4.11, it is safe but not necessary in older
      kernels.
      Signed-off-by: NStephen Hemminger <sthemmin@microsoft.com>
      Reviewed-by: NK. Y. Srinivasan <kys@microsoft.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      f1c635b4
  6. 28 2月, 2017 1 次提交
  7. 07 2月, 2017 1 次提交
  8. 01 2月, 2017 1 次提交
  9. 05 1月, 2017 6 次提交
  10. 01 12月, 2016 1 次提交
  11. 13 7月, 2016 1 次提交
  12. 15 3月, 2016 1 次提交
  13. 09 3月, 2016 1 次提交
  14. 29 1月, 2016 2 次提交
  15. 09 1月, 2016 1 次提交
  16. 07 1月, 2016 4 次提交
  17. 11 12月, 2015 1 次提交
  18. 10 11月, 2015 3 次提交
  19. 27 8月, 2015 7 次提交
  20. 13 8月, 2015 2 次提交