svn commit: r273435 - releng/10.1/sys/dev/hyperv/storvsc

Glen Barber gjb at FreeBSD.org
Tue Oct 21 23:07:31 UTC 2014


Author: gjb
Date: Tue Oct 21 23:07:30 2014
New Revision: 273435
URL: https://svnweb.freebsd.org/changeset/base/273435

Log:
  MFstable10 r273429:
    MFC r273402:
    Fix an issue where a FreeBSD virtual machine provisioned in
    the Microsoft Azure service does not recognize the second
    attached disk on the system.
  
  PR:		194376
  Approved by:	re (delphij)
  Sponsored by:	The FreeBSD Foundation

Modified:
  releng/10.1/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
Directory Properties:
  releng/10.1/   (props changed)

Modified: releng/10.1/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
==============================================================================
--- releng/10.1/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Oct 21 21:49:06 2014	(r273434)
+++ releng/10.1/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Oct 21 23:07:30 2014	(r273435)
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
 #define STORVSC_MAX_IO_REQUESTS		(STORVSC_MAX_LUNS_PER_TARGET * 2)
 #define BLKVSC_MAX_IDE_DISKS_PER_TARGET	(1)
 #define BLKVSC_MAX_IO_REQUESTS		STORVSC_MAX_IO_REQUESTS
-#define STORVSC_MAX_TARGETS		(1)
+#define STORVSC_MAX_TARGETS		(2)
 
 struct storvsc_softc;
 
@@ -584,7 +584,6 @@ hv_storvsc_on_iocompletion(struct storvs
 
 	vm_srb = &vstor_packet->u.vm_srb;
 
-	request->sense_info_len = 0;
 	if (((vm_srb->scsi_status & 0xFF) == SCSI_STATUS_CHECK_COND) &&
 			(vm_srb->srb_status & SRB_STATUS_AUTOSENSE_VALID)) {
 		/* Autosense data available */


More information about the svn-src-all mailing list