Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177426749
D11271.1794354388.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
679 B
Referenced Files
None
Subscribers
None
D11271.1794354388.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11271: Only dumping the error message under verbose mode
Attached
Detach File
Event Timeline