FreeBSD Bugzilla – Attachment 191475 Details for
Bug 226583
FreeBSD VM on Hyper-V/Azure can't properly detected SCSI disk da2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch can fix the bug for me. Working to test it fully.
storvsc_io_done_remove_CAM_SEL_TIMEOUT.patch (text/plain), 923 bytes, created by
Dexuan Cui
on 2018-03-13 23:10:37 UTC
(
hide
)
Description:
The patch can fix the bug for me. Working to test it fully.
Filename:
MIME Type:
Creator:
Dexuan Cui
Created:
2018-03-13 23:10:37 UTC
Size:
923 bytes
patch
obsolete
>diff --git a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c >index c92f338b..0804b44 100644 >--- a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c >+++ b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c >@@ -2173,20 +2173,7 @@ storvsc_io_done(struct hv_storvsc_request *reqp) > scsi_op_desc(cmd->opcode, NULL)); > } > } >- >- /* >- * XXX For a selection timeout, all of the LUNs >- * on the target will be gone. It works for SCSI >- * disks, but does not work for IDE disks. >- * >- * For CAM_DEV_NOT_THERE, CAM will only get >- * rid of the device(s) specified by the path. >- */ >- if (storvsc_get_storage_type(sc->hs_dev) == >- DRIVER_STORVSC) >- ccb->ccb_h.status |= CAM_SEL_TIMEOUT; >- else >- ccb->ccb_h.status |= CAM_DEV_NOT_THERE; >+ ccb->ccb_h.status |= CAM_DEV_NOT_THERE; > } else { > ccb->ccb_h.status |= CAM_REQ_CMP; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226583
: 191475