Page MenuHomeFreeBSD

D11271.1794354388.diff
No OneTemporary

Authored By
Unknown
Size
679 B
Referenced Files
None
Subscribers
None

D11271.1794354388.diff

Index: sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
===================================================================
--- sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
+++ sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
@@ -2252,11 +2252,13 @@
}
}
} else {
- mtx_lock(&sc->hs_lock);
- xpt_print(ccb->ccb_h.path,
- "storvsc scsi_status = %d\n",
- vm_srb->scsi_status);
- mtx_unlock(&sc->hs_lock);
+ if (bootverbose) {
+ mtx_lock(&sc->hs_lock);
+ xpt_print(ccb->ccb_h.path,
+ "storvsc scsi_status = %d, srb_status = %d\n",
+ vm_srb->scsi_status, srb_status);
+ mtx_unlock(&sc->hs_lock);
+ }
ccb->ccb_h.status |= CAM_SCSI_STATUS_ERROR;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 10, 11:46 PM (1 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41649418
Default Alt Text
D11271.1794354388.diff (679 B)

Event Timeline